1
Nick_James
Default idle_time and idle_time warning

What is the default idle time for xoops?

How do I change the default idle time?

Can the idle time be set to give the users warning that they are about to be timed out?

Can the system prompt them to login in without them losing their posting information?
Nicholas James
President - LaDads
http://www.ladads.info

2
Nick_James
Re: Default idle_time and idle_time warning

No, I am not using 'custom sessions'.

I tried them once and started getting complaints so I turned that feature off again. I think the issue was it blocked access through firewalls.
Nicholas James
President - LaDads
http://www.ladads.info

3
Nick_James
Re: Default idle_time and idle_time warning

Anybody?
Nicholas James
President - LaDads
http://www.ladads.info

4
ghia
Re: Default idle_time and idle_time warning
  • 2009/1/17 18:57

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The default value is 15 minutes (see /class/xoopssecurity.php, /include/commons.php and /kernel/sessions.php).
When there are problems with the custom sessions, I don't think firewalls are to be blamed, but it has all to do with the browser settings for handling cookies.

5
Nick_James
Re: Default idle_time and idle_time warning

So if I want to change the default time, I change the 900 seconds (15 minutes) on line 201 in session.php in the gc_force function?

Quote:
$expire = ($expire > 0) ? $expire : 900;


and also line 75 in the xoopssecurity.php?

Quote:
$timeout = ($expire > 0) ? $expire : 900;
Nicholas James
President - LaDads
http://www.ladads.info

6
Nick_James
Re: Default idle_time and idle_time warning

or get brave and try the 'custom session' option again. In that case, I can set the timeout time in the main setup.
Nicholas James
President - LaDads
http://www.ladads.info

Login

Who's Online

386 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 386


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits