RE: [PHP] OT Inactivity Timeout
| From: | Johnson, Kirk | Date: | Fri, 14 Mar 2003 16:07:03 +0000 |
| Subject: | RE: [PHP] OT Inactivity Timeout | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139730@lists.php.net to get a copy of this message | ||
> But how can I
> set up an inactivity timeout that will logout a person after
> let's say 20
> minutes of inactivity?
You could put a <meta> refresh on the page, that redirects to an
"inactivity" page. Set the refresh time to the timeout value. Put some
logout code on the "inactivity" page.
Otherwise, you need to use JavaScript, as far as I know.
Kirk