I dont know if the asp application you are using a browser specific one.If its a IE, you can do something like this. Include a iframe with width and height as zero., the source of the page ofcourse contains the session value, Include this iframe in the main page, which means the user can still browse through the whole website, but this page is always present, write a asp page which would clear out all the sessions, call this page in the iframe using onunload() event, so if the user closes the browser or navigates to different website other than your website, his session will be terminated.
You can even control the login by database and call the database routine in the popup to end his session..i didnt try this on netscape as i implemented this for a intranet which was totally IE specific.
Chintu
|