NYCPHP Meetup

NYPHP.org

[nycphp-talk] auto logout without activity

Rich Buggy rich at buggy.id.au
Thu May 22 07:50:10 EDT 2008


Chad

You could store the time of the last request in the session (or a
cookie) then check it during the next request. If you store it in a
cookie you'll want some way to validate they actually sent back the
correct value.

    Rich

On Thu, 2008-05-22 at 00:08 -0400, chad qian wrote:
> When user login after 10 minutes without any activity,he will
> automatically log out.
> How to PHP it?Can anyone give me idea?
>  
> Thanks!
>  
> chad
> 
> 
> ______________________________________________________________________
> E-mail for the greater good. Join the i’m Initiative from Microsoft.
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list