Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 23, 2007, 6:47 pm
rate this thread
I made a simple script with some session variables. When I work in the
application, and when I don't use the application for some time, the
session vars are erased... even when I set the session time out for 4
Here is a part of the code:
$cache_expire = session_cache_expire();
$naam_l = '';
if (isset($_SESSION['a_name'])) $naam_l = $_SESSION['a_name'];
How is it possible that the vars don't work anymore , for example
within 30 min?
Is there maybe a problem in IE6? How can I debug this problem....
Greetings and thanks,
Vlaardingen - The Netherlands
Re: Session time out too fast
session.cache_expire specifies time-to-live for cached session pages in =
session.gc_maxlifetime specifies the number of seconds after which data =
will be seen as 'garbage' and cleaned up. Garbage collection occurs duri=
The 'cache expire' is for:"cache control method to use for session pages=
(none/nocache/private/private_no_expire/public)", NOT for timing out =
So, set session.gc_maxlifetime to an appropriate value.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum