Just another rainy day
Posts: 1
10 credits Members referred : 0
« on: Jan 31, 2007, 06:06:56 pm »
Hi,
I am using the mysql session class with the access class. I would like to extend the time out period from default (5 minutes I believe) to a longer period of time. Is there a setting that will let me change this? We have pages that have a fair amount of text on them and users are being kicked back to the login screen when they try to go to the next page.
Thanks, Brian
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jan 31, 2007, 07:42:23 pm »
the timeout inside the class is not for the session timeout ...
try this function session_set_cookie_params(600); // 600 seconds
Chicken-run Manager
Posts: 9
62 credits Members referred : 0
« Reply #2 on: Feb 13, 2007, 11:48:43 am »
Where i must put in this code snippet? I want that the session times out after 20 minutes. How can I resolve this problem?
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #3 on: Feb 13, 2007, 11:58:18 am »
You should put it in the beginning of your script.