Maybe you've answered many times to this question.
I've to decrement the number of users connected to my site when a user close the browser (waiting for session timeout takes too long time).
I tried opening a small .asp window on the onunload event but it happens every time I refresh the page, I click on a link and so on, it's annoying.
I tried a onunload=document.write('<img src="logout.asp">') but he write the image instead of going to the other page.
I tried checking the opened property of the window, but it's always true.
You have some idea about how to decrement that session? How to load a page undergound without opening a window or in some other way?
Thanx in advance. Stevie B. Gibson
I've to decrement the number of users connected to my site when a user close the browser (waiting for session timeout takes too long time).
I tried opening a small .asp window on the onunload event but it happens every time I refresh the page, I click on a link and so on, it's annoying.
I tried a onunload=document.write('<img src="logout.asp">') but he write the image instead of going to the other page.
I tried checking the opened property of the window, but it's always true.
You have some idea about how to decrement that session? How to load a page undergound without opening a window or in some other way?
Thanx in advance. Stevie B. Gibson