-
-
Notifications
You must be signed in to change notification settings - Fork 828
-
Hi,
My RaspAp session keeps expiring (showing the login screen) every 5 seconds or so. I'm still using the original credentials and although I have managed to upgrade to v3.2.9 through the gui the problem still occurs.
I've cleared my browser cache and tried a different browser - but still get the issue. Otherwise it's providing me with a connection via Wireguard and Mullvad absolutely fine.
I'm a general user (not a coder) but I've had RaspAp working on my RPi3b for about a year now without any problems. I can SSH in and manage my way around the terminal if pointed in the right direction.
Is there anything I can do to troubleshoot/solve the situation.
Many thanks for any help anyone can offer.
Cy
Beta Was this translation helpful? Give feedback.
All reactions
Newer RaspAP versions specify a timeout value in config.php:
define('RASPI_SESSION_TIMEOUT', 1440);
If this is missing from your upgrade for whatever reason, the application will behave as you describe. Defining it should fix your problem. See this for an explanation of session management.
Replies: 2 comments 3 replies
-
Newer RaspAP versions specify a timeout value in config.php:
define('RASPI_SESSION_TIMEOUT', 1440);
If this is missing from your upgrade for whatever reason, the application will behave as you describe. Defining it should fix your problem. See this for an explanation of session management.
Beta Was this translation helpful? Give feedback.
All reactions
-
Brilliant! That's sorted it.
Thank you so much. And for the project too...
Cy
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Unfortunately this does not work see here
#1809
Beta Was this translation helpful? Give feedback.
All reactions
-
Try editing /var/www/html/includes/config.php instead of /var/www/html/config/config.php. For some reason, it seems that the config.php file has moved in some update.
Beta Was this translation helpful? Give feedback.
All reactions
-
The handling of config.php is clearly explained here and is unchanged.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1