The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Session Time - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: Session Time (/showthread.php?tid=437) |
Session Time - Brandin - 01-23-2017 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. Session Time - mudmin - 01-26-2017 http://stackoverflow.com/questions/1516266/how-long-will-my-session-last/1516284 Session Time - Brandin - 01-28-2017 Mudmin, If I'm reading correctly, there is no built in session system to UserSpice, it is handled by PHP? Thanks. Session Time - mudmin - 01-31-2017 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. Session Time - Brandin - 05-20-2017 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/520237/how-do-i-expire-a-php-session-after-30-minutes/1270960#1270960 Thank you! Session Time - mudmin - 05-22-2017 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. Session Time - Brandin - 05-26-2017 @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. Session Time - mudmin - 05-26-2017 Yep. Sorry. That's it. I was typing from my bad memory. |