You could create a session cookie - it wouldn't be php, really, but wouldn't
that be valid, so that if they browse off the page, then they're
automatically logged out, by keeping a php session id in the cookie or
something, then setting the cookie to disappear when they leave the site,
and if the cookie is no longer present then they have to start a new
session.

I know this has already been talked about but what is a good way to keep
> > track of logged in users.  I want to list users who are logged in on
> > some
> > admin pages.  It's easy enough to keep something in a database table but
> >   how do you get around the problem of people leaving with out clicking on
> > the logout link?
> >
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>



-- 
Nathan Lane
Home, http://www.nathandelane.com
Mirror, http://nathandelane.awardspace.com

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to