u can use javascript to count  the number of seconds the user stayed at the site on 
window close u can post this value to an url which retrieves the value


Steven Lau wrote:

> I'm stuck with two questions and would really appreciate it if someone can give me 
>some suggestions:
>
> What would be the best way to find out how long a person stayed on a particular page 
>and at the same time use the least amount of server resources?  i.e. if he/she stayed 
>over 10 seconds.
>
> How would I know whether if a hit is a reload or refresh?  Is there a way to 
>implement a getLastAccessURL and make a comparsion of the current requested URL?
>
> Thanks!
> Steven
>
> ___________________________________________________________________________
> 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
begin:vcard
n:marada;jaya krishna reddy
tel;home:hyderbad-72
tel;work:CMC LTd
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:jaya krishna
end:vcard

Reply via email to