Disable Cookieless Sessions on Single Page?

X

xenophon

I have specified in web.config to use cookieless Sessions. On one page
I do not want to use them because of the way they obfuscate the page
address. How can I turn it off for the page?

Thanks.
 
S

Steven Cheng[MSFT]

Hi xenophon,

I think Brock's right since the <sessionState> setting in the asp.net
application's configuration is a application wide setting which is not
avaible for per-page based scenario. Also, as it is mentioned in the MSDN
web.config schema reference:

#<sessionState> Element
http://msdn.microsoft.com/library/en-us/cpgenref/html/gngrfsessionstatesecti
on.asp?frame=true

We can only specify <sessionState> for a whole application in web.config or
machinel.config.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

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,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top