Home All Groups Group Topic Archive Search About

Page seems to be remembering HttpSessionState

Author
15 Jan 2007 1:50 AM
Nathan Sokalski
I have a page that determines some of what to display based on
HttpSessionState. When I go to it the first time, it displays everything the
way I would expect. Then I go to another page on my site (by clicking links,
so I am still using the same browser window), which calls Session.Abandon()
to start a new Session. Then when I click a link to go to the page that uses
the HttpSessionState, it still uses the values that were in it when I left.
If I then click the browser's Refresh button, it uses the values from the
new Session. What do I need to do to make the user not need to click the
Refresh button? Thanks.
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

Author
15 Jan 2007 2:18 AM
Gaurav Vaish (MasterGaurav)
It's the browser issue.. ensure that the caching is turned off.

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------


Show quoteHide quote
"Nathan Sokalski" <njsokal***@hotmail.com> wrote in message
news:%23jAXAeEOHHA.4260@TK2MSFTNGP02.phx.gbl...
>I have a page that determines some of what to display based on
>HttpSessionState. When I go to it the first time, it displays everything
>the way I would expect. Then I go to another page on my site (by clicking
>links, so I am still using the same browser window), which calls
>Session.Abandon() to start a new Session. Then when I click a link to go to
>the page that uses the HttpSessionState, it still uses the values that were
>in it when I left. If I then click the browser's Refresh button, it uses
>the values from the new Session. What do I need to do to make the user not
>need to click the Refresh button? Thanks.
> --
> Nathan Sokalski
> njsokal***@hotmail.com
> http://www.nathansokalski.com/
>