Help Full PHP + JavaScript
Home
Home
Thursday, July 28, 2011
Automatic Logout after 1 minutes of inactive PHP
Logout after 1 minutes.
$_SESSION['last_click']=time();
if(($_SESSION['last_click'] + 1*60) < time())
{
session_destroy();
header("location:index.php");
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
affiliate marketing
No comments:
Post a Comment