Hi I have a number of different projects running on different servers being accessed my many usurers.
Every so often the user gets logged out and an error appears and says that the user does not have permission.
This is happening more often by more users.
HELP!!
Version 5.70 revision 1020
Barry
getting kick out of login
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: getting kick out of login
Hello baudwalker,
could you please provide us with more details about your session configuration
could you please provide us with more details about your session configuration
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: getting kick out of login
I was not aware of any session configuration in AppGini, could you enlighten me please?
Re: getting kick out of login
session configuration related to php itself , you can get it through php script , you should use phpinfo function
here's more details about it
http://php.net/manual/en/function.phpinfo.php
using this function you can have a table of session configuration
here's more details about it
http://php.net/manual/en/function.phpinfo.php
using this function you can have a table of session configuration
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: getting kick out of login
Thank you, Tammam for you assistance.
As the site is running in a cluster, I was experience logouts if my connection was to migrate between nodes due to load or planned maintenance. Therefore I moved the session save path to be within htdocs, well actually a folder just before htdocs
So I put @session_save_path("/home/nswvga/session"); in lib.php (before the session_start() command).
Since then I have had not log outs.
so far so good:)
Barry
As the site is running in a cluster, I was experience logouts if my connection was to migrate between nodes due to load or planned maintenance. Therefore I moved the session save path to be within htdocs, well actually a folder just before htdocs
So I put @session_save_path("/home/nswvga/session"); in lib.php (before the session_start() command).
Since then I have had not log outs.
so far so good:)
Barry
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: getting kick out of login
I also had to add that line of code to /admin/incCommon.php to keep the admin login happy.