The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
Session Time
#1
Hi there,

Where can I modify the session timeout? I have no idea what it is set to now, but it is way too low of a timeout.

Thank you.
  Reply
#2
http://stackoverflow.com/questions/15162...st/1516284
  Reply
#3
Mudmin,

If I'm reading correctly, there is no built in session system to UserSpice, it is handled by PHP?

Thanks.
  Reply
#4
There is a cookie expiry in the init file I believe, but not every server respects it. Setting it at the server level is probably the best bet unless you have a reason not to.
  Reply
#5
Mudmin,

Thoughts on the best place to implement this answer?

I'm thinking somewhere in the header since this is called everywhere? or init?

http://stackoverflow.com/questions/52023...60#1270960

Thank you!
  Reply
#6
I would put it in usersc/includes/custom_head_tags.php

That will get it everywhere and not break updates. Init would work too though.
  Reply
#7
@Mudmin,

I do not have a custom_head_tags.php in includes, I just have head_tags.php. Can you advise if it is to go into this file?

Thank you.
  Reply
#8
Yep. Sorry. That's it. I was typing from my bad memory.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)