This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have to introduce licensing framewrok to my webapplication ..which mean to say that i will give the clinet saying that u can run only 20 clients using my webapp server ........for this we need to keep track of the sessions getting created .....................
But the problem is that if the user logsout properly then license system will be informed that one user is out .........but if one user closes the browser abruptly with out logging out ......then my license system has to wait till the session of that user expires ......................
I know that windows close event cant be caught( i am sure of this i hope) ........but is there anyway of informing the server that the user has closed his browser ................
If not above is there anyway from the server to ping back to all the active sessions and findout if the browser is opened r closed and then invalidate the session.................
Have you ever been stuck in a string of pop-up ads where you close one and it opens another? It is possible.
A good workman is known by his tools.
Joined: Sep 21, 2003
the tough thing is that how to detect the window close event is the main problem any idea on this ???