PHP Session timeout

Posted by user342391 on Stack Overflow See other posts from Stack Overflow or by user342391
Published on 2010-06-18T10:13:09Z Indexed on 2010/06/18 10:23 UTC
Read the original article Hit count: 320

Filed under:
|
|
|
|

I am creating a session when a user logs in like so:

$_SESSION['id'] = $id;

How can I specify a timeout on that session of X minutes and then have it perform a function or a page redirect once it has reached X minutes??

© Stack Overflow or respective owner

Related posts about php

Related posts about session