Problem With Session Variables

Results 1 to 3 of 3

Thread: Problem With Session Variables

  1. #1
    Join Date
    Dec 1969

    Default Problem With Session Variables

    I am Using session variables for user authentication, the problem is that while logging a user OUT, I destroy the session using Session.Abandon,but the restricted pages are still visible when the Back Butto is clicked.<BR>Session.contents.removeall, doesnt work either. It gives an error message.

  2. #2
    Join Date
    Dec 1969

    Default RE: Problem With Session Variables

    Make the pages expire like this:<BR><BR>Response.expires = 60<BR>Response.ExpiresAbsolute = Now()-2<BR>Response.AddHeader "pragma","no-cache"<BR>Response.AddHeader "cache-control","private"<BR>Response.CacheControl="no-cache"<BR>

  3. #3
    Join Date
    Dec 1969

    Default Cache?

    Make sure you&#039;re not allowing the page to cache. That could be how they&#039;re looking at it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts