Hi Pete,

there are many websites who record the time you were browsing their web 
pages, like PHPTalk <http://www.phptalk.com/forums/index.php>. when you 
log into website, you'll see some statistics about yourself including 
Total time logged in: 1 hours and 8 minutes.
any you'll see at the top of the page: 3 Members and 5 Guests are 
viewing this board.
i want to log the Guests browsing time.
How do they do it? i think by sing Session. but I'm not sure.
i want to do something like this without any authentication.
is it possible?

Pete wrote:
> In message <[EMAIL PROTECTED]>, Hadi <[EMAIL PROTECTED]
> works.net> writes
>   
>> hi,
>>
>> i have a semi-public page that i want to know how much time does it take 
>> for each user from entering the page and closing or leaving that page. i 
>> log the IP and entering time/date for each user, but don't' know what to 
>> do with the leaving time?
>> is it possible to be done with *session*?
>>     
>
> You can't tell when a person leaves the page, you can only tell when
> they next click on a link on that page.
>
> Session will time out, usually after 30 minutes, if the user doesn't
> click on any links on your page.  They don't know if the browser was
> closed, or if the visitor typed in a new URL.
>
> And, this would not tell you anything, anyway.  What if the page was
> open, and the person walked away from the machine, or opened another
> window in front of it?
>
>   


The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to