Writing page titles to the IIS log using Response.AppendToLog

S

Spondishy

Hi,

I have a fairly simple httpmodule tied in to the endrequest event of
the pipeline that writes the page title to the iis log. The problem is,
I have a page where the title is changed in the page_load. The page
title is changed in the page load depending on a query string id on the
url.

For example an ID of 1 might be a page title of "Page Title 1"
An ID of 2 might be a page title of "Page Title 2"

My problem is that the title being written to the log might be the
original title of the page, or one of the titles set in the page load
and I can't seem to guarantee the title written to the log is the one
setup in the page_load.

Is there any way I can pickup the title that has been changed in the
page load of the page from the pipeline?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top