-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session expires in 30 mins independent from config settings. #178
Comments
Make sure that |
do you mean the linux setenv command? the PHP putenv() function or the apache_setenv? (i am on nginx) |
I meant that PHP has a function |
@mahagr For security reasons, this feature is disabled on many webhosts. |
@DebuggeR94 Grav, Symfony and many others depend on |
I tried to find something about |
Should be fixed in latest Grav CI build. |
Unfortunately, nothing changed for me with new version... |
I don't know what it could be, something in your system prevents timeout from being changed. |
Hi,
see title,
Session expires in 30 mins independent from configuration settings.
How can I diagnose this problem?
The set cookies have weird expiry dates (like ~18h) which have not been set anywhere and don't seem to be logging the users in.
I am using the private-site plugin to secure the whole site.
Session sharing (log in on frontend be logged in in backend too) seems to work OK.
I am guessing the private-site plugin uses this grav-plugin-login for its login procedure,
thats why I am asking here. Even without session sharing and login via backend the same thing happens, logout in 30 mins.
What could be the cause why the session expires in ~30 mins instead of the session expiration of a week (in secs) that i set in the global grav session configuration section?
Do I have to set some session path or any other configuration (in which plugin or in the global yaml file)?
Unsure about the mechanics at play here.
It is frustrating as it happens to all my users constantly and is super annoying for quick edits on a documentation page (theme learn2-git-sync).
Its the newest Grav version (Grav v1.5.1 - Admin v1.8.9) running on Debian 9, nginx.
thanks!
The text was updated successfully, but these errors were encountered: