|
Posted by Jerry Stuckle on 07/15/07 13:32
Hadron wrote:
>
>> With sessions you can tell how many people have used your login form and
>> have yet to use your logout form, or yet to be timed out. You can not tell
>> how many people are "browsing the site".
>
> Yes you can. Because even if they are not physically looking, they ARE
> still browsing. Sure, we dont know if the use is asleep or on the toilet
> but he IS still maintaining a session.
>
No, you can't. All you know is at some time he started a session. You
don't know if they are still browsing your site (or some other site),
have closed their browser or even turned off their computer. You get NO
notification when someone closes their browser or moves on to another site.
>> I administer several sites that use logins. Sometimes I visit one only to
>> find that I had last "logged in" several days ago and my browser is still
>> hanging on to the session cookie.
>
> If you administer sites then I am surprised you are so clueless in the
> context of a PHP site.
And I'm surprised you're so clueless as to how sessions and HTTP
protocol in general work.
He's right - browsers will hang onto session cookies forever, if you
tell them to. And sites will keep sessions open until your PHP code
destroys the session or it times out - which depends on the php.ini
settings.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|