Session time
A
Avi G.
We get logged out of our portal after only a few minutes of inactivity, or even sometimes when we're in the middle of doing something. This is highly inefficient and inconvenient. It really should be extended or even better, allow users to set their own session expiration times.
Tiffany Bridge
Merged in a post:
Remain logged in while active
B
Brent Pennington
The auto log-out seems to be timer based, so even if I'm in the middle of a task when the time runs out, I get logged out. This is very annoying; it would be much better if the timer BEGAN after a period of inactivity.
G
Gabriel M.
same thing happens to me from time to time. Using the latest version of Firefox and Windows 11.
Luke Cavanagh
Which browser and OS are you using that runs into the session time out issue in the Nexcess portal?
G
Guy H.
Hi Brent,
To stay logged in for longer periods add the following code to your child theme functions.php
// Stay logged in for longer periods
add_filter( 'auth_cookie_expiration', 'keep_me_logged_in' );
function keep_me_logged_in( $expirein ) {
return 2629746; // 1 month in seconds
}