The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Early timeout for logged in user
#3
You can also try adding these two lines before session_start() in the users/init.php file.

I'd love to know if that makes a difference.

Code:
ini_set('session.gc_maxlifetime', 3600);
Code:
session_set_cookie_params(3600);

So your first 4 lines would be...
Code:
<?php
Code:
ini_set('session.gc_maxlifetime', 3600);
Code:
session_set_cookie_params(3600);
Code:
session_start();
  Reply


Messages In This Thread
Early timeout for logged in user - by Overlordv2 - 11-24-2016, 11:29 PM
Early timeout for logged in user - by mudmin - 11-24-2016, 11:42 PM
Early timeout for logged in user - by mudmin - 11-24-2016, 11:48 PM
Early timeout for logged in user - by Overlordv2 - 11-24-2016, 11:52 PM
Early timeout for logged in user - by mudmin - 11-24-2016, 11:54 PM
Early timeout for logged in user - by Overlordv2 - 11-25-2016, 12:00 AM
Early timeout for logged in user - by mudmin - 11-25-2016, 12:02 AM
Early timeout for logged in user - by Overlordv2 - 11-25-2016, 12:03 AM
Early timeout for logged in user - by mudmin - 11-25-2016, 12:06 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)