Auto logout Problem

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 124
Joined: Sun Feb 29, 2004 6:26 am

Wed Aug 11, 2004 4:58 pm


/* set the cache limiter to 'private' */

$cache_limiter = session_cache_limiter();

/* set the cache expire to 30 minutes */
$cache_expire = session_cache_expire();

/* start the session */


echo "The cache limiter is now set to $cache_limiter<br />";
echo "The cached session pages expire after $cache_expire minutes";

i got the code above, how to use it. I put it in a main file, after a certain time, i set to one minute, after a minute, i can't auto logout, should i put it in all the files that i have to make it work??? help me please? thanks

Post Reply