Session Object

Results 1 to 4 of 4

Thread: Session Object

  1. #1
    Rajkumar Guest

    Default Session Object

    how to end a session immediately after the user closes the browser window?<BR><BR>Thanks<BR>Rajkumar

  2. #2
    Kanishka Guest

    Default RE: Session Object

    There is already a discussion happening on the Session object a little further down the tree (just look at the titles. You&#039ll find it under session object). Take a look. It should solve your problem.

  3. #3
    Rajkumar Guest

    Default RE: Session Object

    hi,<BR>I would like to put my question like this? By default the session object expires after 20 minutes but when the user closes the browser window the session variables r much alive and they expires only after 20 minutes in the web server. what i want is, the session should expire immediately after the user closes the browser window.<BR><BR>Help,<BR>Rajkumar

  4. #4
    Join Date
    Dec 1969

    Default RE: Session Object

    Rajkumar-<BR>im not sure if this answers, but what the hell....<BR>In clientside javascript use event handler--&#062; onUnload <BR>for example &#060;body onUnload = "whatever()"&#062;<BR>I think then you can use<BR>"Session.Abandon" to end the session<BR>good luck

Posting Permissions

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