dcsimg
How to notify the server if the browser is closed ?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kothandapani_rajakanthan
Posted On:   Tuesday, December 11, 2001 05:50 AM

My servlet program restict number of user. for example let keep it as 5. ok. . when one user enters, immeditely in server side one user is increased. At one point when 6th user trys to enter i will msg that "Maximum user already entered. try after some time" ok. but when one among the 5 users closes the browser (not through normal logout). I want to notify that one user is out of the application scope,so that it will decrement the active user by one?

Re: How to notify the server if the browser is closed ?

Posted By:   Alex_Chaffee  
Posted On:   Monday, December 17, 2001 01:01 AM

Re: How to notify the server if the browser is closed ?

Posted By:   Bozidar_Dangubic  
Posted On:   Tuesday, December 11, 2001 06:11 AM

you do not get a notification when browser window is closed. this is a frequent question here. you can read the FAQ on this issue for some alternate ideas.
About | Sitemap | Contact