getting kick out of login

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
baudwalker
Veteran Member
Posts: 188
Joined: 2015-02-03 08:08
Location: Bellingen NSW Australia

getting kick out of login

Post by baudwalker » 2018-03-28 04:47

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

R Tammam
Veteran Member
Posts: 113
Joined: 2017-08-26 15:35

Re: getting kick out of login

Post by R Tammam » 2018-04-05 09:07

Hello baudwalker,
could you please provide us with more details about your session configuration

User avatar
baudwalker
Veteran Member
Posts: 188
Joined: 2015-02-03 08:08
Location: Bellingen NSW Australia

Re: getting kick out of login

Post by baudwalker » 2018-04-06 00:15

I was not aware of any session configuration in AppGini, could you enlighten me please?

R Tammam
Veteran Member
Posts: 113
Joined: 2017-08-26 15:35

Re: getting kick out of login

Post by R Tammam » 2018-04-11 17:46

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

User avatar
baudwalker
Veteran Member
Posts: 188
Joined: 2015-02-03 08:08
Location: Bellingen NSW Australia

Re: getting kick out of login

Post by baudwalker » 2018-04-18 05:18

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

User avatar
baudwalker
Veteran Member
Posts: 188
Joined: 2015-02-03 08:08
Location: Bellingen NSW Australia

Re: getting kick out of login

Post by baudwalker » 2018-04-19 05:39

I also had to add that line of code to /admin/incCommon.php to keep the admin login happy.

Post Reply