There is already a discussion happening on the Session object a little further down the tree (just look at the titles. You'll find it under session object). Take a look. It should solve your problem.
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