Jump to content

Session expiration (in seconds) change for who is online?


Suge81

Recommended Posts

Posted

where i can change the 

Session expiration (in seconds)

 for the who is online widget.

 

I changed the setting on PHP but it dont worked ..

Thanks for help.

 

Greetz

Posted

You can't easily change that. It's hardcoded to 30minutes:

	public function getOnlineUsers( $flags=0, $sort='desc', $limit=NULL, $memberGroup=NULL, $showAnonymous=FALSE )
	{
		/* Query */
		$where = array(
			array( 's.running_time>?', \IPS\DateTime::create()->sub( new \DateInterval( 'PT30M' ) )->getTimeStamp() ),

 

Posted
9 hours ago, DawPi said:

You can't easily change that. It's hardcoded to 30minutes:


	public function getOnlineUsers( $flags=0, $sort='desc', $limit=NULL, $memberGroup=NULL, $showAnonymous=FALSE )
	{
		/* Query */
		$where = array(
			array( 's.running_time>?', \IPS\DateTime::create()->sub( new \DateInterval( 'PT30M' ) )->getTimeStamp() ),

 

where is this ? I dont find it in whosonline widget php

  • 2 weeks later...
Posted

well i changed to Redis and now the settings are gone. i edited the redis.php in system/Session/Store

 

but it doesnt work

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...