1
zzzzsg
Extending Xoops session expiry time
  • 2006/4/12 22:28

  • zzzzsg

  • Just popping in

  • Posts: 86

  • Since: 2005/12/22


Hi All

I'm using xoops.2.2.3.

I set the Session expiration in XOOPS adminstration (in Preferences->General Settings) to 14400 (10 days), but it doesn't seem to work. I think XOOPS session still expires after 15 mins if idle time.

Then I went to class/xoopssecurity.php and modified these lines
if ($timeout == 0) {^M
$timeout = intval($GLOBALS['xoopsConfig']['session_expire']) * 60; //session_expire is in minutes, we need seconds^M
if ($timeout == 0 || $timeout > 100000) { //if timeout is still zero - or a very large value^M (changed form 1000 to 100000)
$timeout = 60*60*24; //set timeout to 60 minutes ^M (changed to 1 day)
}^M

But still didn't work - (I think xoopssecurity.php is only for the special admin session).

Does anybody know how to set the session expiry time to 10 days? (or 1 day).

Thank you very much in anticipation.

gui

2
jonr_is
Re: Extending Xoops session expiry time
  • 2006/5/15 2:30

  • jonr_is

  • Just popping in

  • Posts: 32

  • Since: 2006/1/2 1


I'm having exactly this problem.
Now on Xoops: 4-3system.com

3
jonr_is
Re: Extending Xoops session expiry time
  • 2006/5/31 1:49

  • jonr_is

  • Just popping in

  • Posts: 32

  • Since: 2006/1/2 1


bump? (I hope that is ok)
Now on Xoops: 4-3system.com

Login

Who's Online

227 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

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

Latest GitHub Commits