Is it possible to terminate a session when the user closes the browser?<BR><BR>TAI!!<BR>/Martin
When the broswer is closed the sessions are also terminated. <BR>you can use session.abandon to remove all values from your session varables.m
That is only when all browsers are closed. I whant the session to be terminated even when the user just leaves the site or closes the browser viewing it (even if there are still one or more browser windows left open).<BR><BR>TIA!<BR>/Martin
All I can think of is ether have a log out button which uses the session.abandon method or change the session time out time down to 5 or 10 mins.
idea: put the whole site into a frame, and use bosy onunload or onchange to trigger a logout.asp file which would abandon it, and perhaps also close it.