G
Guest
I am using global.asax to check a session variable on each request to a page,
but if the page is not processed by .net such as a pdf file the session state
is not available.
I reference a session variable in Application_AcquireRequestState function
which should have state and it does when I call aspx, asmx, but not pdf file.
I can alter the web.config of the .net framework to assign
System.Web.UI.PageHandlerFactory to *.pdf but this doesn't work.
Is there a way to get around this? Other than checking for a call to a pdf
file and not checking for session.
Thanks in advance
but if the page is not processed by .net such as a pdf file the session state
is not available.
I reference a session variable in Application_AcquireRequestState function
which should have state and it does when I call aspx, asmx, but not pdf file.
I can alter the web.config of the .net framework to assign
System.Web.UI.PageHandlerFactory to *.pdf but this doesn't work.
Is there a way to get around this? Other than checking for a call to a pdf
file and not checking for session.
Thanks in advance