I am trying to write an application with the help of jsdk2.0\javawebserver2.0 and i 
want to track the session.

What I am trying to do is that there is a paid web site that allows users
to enter the site after allocating him a certain time.He cannot surf beyond that time 
limit.So far so good .I can track the session but my requirment is that if the user 
closes his browser before the allocated time or the internet connection at his end 
fails then I have to calculate the total time surfed by him and accordingly update his 
account.
So how do i come to know that browser has been closed or the connection at users end 
has failed.I tried to write a thread that checks every minute
if(session==null) System.out.println("logged out");but it does not work.
How can the servlet or server come to know when the browser has been closed.

Kindly help urgently as my student project hangs on it
Many thanks in advance.may contact at [EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to