Forum Moderators: open

Message Too Old, No Replies

ASP Session variable not cleared

Using Session.abandon but the value is not cleared

         

ShowMeTheCode

2:59 pm on Mar 17, 2005 (gmt 0)



Hi,

If anyone has any input - please hlp!

I have a frame set page that uses session variables to pass a login key allowing access. On the logout page - I use a session("userinfo")="" followed by a session.abandon, then refresh the top page.

This part works fine and the user is logged out, and the session variables are cleared.

Now if a 2nd user logs in, the 1st users session values appear instead of the 2nd.

Any ideas?

aspdaddy

9:47 am on Mar 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds like a caching issue.
If your second user is potentially logging on to the same machine, then you need a different solution - e.g querystring.