Redirection to Login page [message #3075] |
Tue, 02 October 2012 12:44 |
jjtoranzo2004
Messages: 261 Registered: September 2012
|
Senior Member |
|
|
Radicore 1.75
After logging in as MGR and "browsing" for some time I am redirected to the login page and this green message appears "You must log in to access this system."
Are sessions expiring to early?
Can my debugger help? What variables should I inspect?
|
|
|
Re: Redirection to Login page [message #3079 is a reply to message #3075] |
Wed, 03 October 2012 02:09 |
AJM
Messages: 2373 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
This should only happen if the session data disappears, either because the data has been deleted after the time limit set by session.gc_maxlifetime in your php.ini file, or the session cookie has been deleted. The session name (which has been changed from the default PHPSESSID) is passed around in the URL, so are you changing the URL?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: Redirection to Login page [message #3086 is a reply to message #3083] |
Thu, 04 October 2012 01:52 |
AJM
Messages: 2373 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
You only time that Radicore redirects you back to the login page is if the session data disappears, either because someone else has deleted the data or if it is told to use a session_id which does not currently exist. I assume that you are using the default Radicore settings which put all session data in the PHP_SESSION table in AUDIT database, so you need to monitor this table to see what happens just before you are being redirected.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|
|
|
|
|