Results 1 to 2 of 2

Thread: session

  1. #1
    man Guest

    Default session

    Here is my situation. The user logs onto my site, he then decides he wants to add that current page to his Favorites list. <BR>He then decides he wants to browse another web site in the same browser. When the user goes back to the favorites menu and selects the page that he was logged into, it gets around my login script. I try to kill the session in the global.asa. <BR>But the session stays with the user as long as he keeps the browser open. How would I tell the session if he decides to leave my site?? and not the browser??<BR><BR>the Session_OnEnd never gets triggered when you type in a new address or select a page from the favorites menu. I guess i am trying to see if there is a way for my site to recognoze that the user has gone to another URL? so i can kill that session.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: session

    You can use the Request.ServerVariables to see what page he just came from, if he came from some site other than yours, wipe out the session variables and start over with the login script. If he comes from your site, then you&#039;re ok and can keep going.<BR><BR>Read up on ServerVariables here:<BR><BR><BR>Mike

Posting Permissions

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