Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Repeated Login Request #1788

Answered by billz
GrumpCy asked this question in Q&A
Mar 16, 2025 · 2 comments · 3 replies
Discussion options

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

You must be logged in to vote

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

Comment options

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.

You must be logged in to vote
1 reply
Comment options

Brilliant! That's sorted it.

Thank you so much. And for the project too...

Cy

Answer selected by GrumpCy
Comment options

Unfortunately this does not work see here
#1809

You must be logged in to vote
2 replies
Comment options

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.

Comment options

The handling of config.php is clearly explained here and is unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /