?
avatar sajalaspl
sajalaspl
20 Jan 2017

Under Global Configuration settings > System > Session Lifetime, you could set the number of minutes. I've set it to 3600 (1 Hour). So, the expected behavior of this setting should be:

--Expected Behavior--

  • User have logged in at 9:00 AM
  • User closed his browser
  • User opened his browser at 9:30 AM
  • He should be logged in, irrespective of the remember me checkbox selection

--Current Behavior--

  • User have logged in at 9:00 AM
  • User closed his browser
  • User opened his browser at 9:30 AM
  • He is logged out

Any help greatly appreciated.

avatar sajalaspl sajalaspl - open - 20 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jan 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Jan 2017
avatar sajalaspl sajalaspl - edited - 20 Jan 2017
avatar mbabker
mbabker - comment - 20 Jan 2017

If you completely close your browser, it will remove many session related cookies which is why you typically have to log into sites again if you aren't using a remember me functionality. If your just close the tab for that website without completely closing the browser, the cookie should stay in the browser so when you come back later it would work as you expect.

Also, a value of 3600 for your session lifetime would result in a 60 hour session. The code converts the value of the $lifetime variable in configuration.php (the session lifetime option in the global config) from minutes to seconds.

avatar sajalaspl
sajalaspl - comment - 21 Jan 2017

Thanks @mbabker for your reply, I appreciate it.

But, then what exactly is the purpose of "Session Lifetime" variable in Global Configuration?

avatar joomla-cms-bot joomla-cms-bot - change - 21 Jan 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 21 Jan 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category com_config
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Apr 2017

@sajalaspl Tooltip "Auto log out a User after they have been inactive for the entered number of minutes." Close this Issue as Discussion ended. Please reopen in case of further Discussions.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13657.

avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-04-05 14:47:45
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 5 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - close - 5 Apr 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 5 Apr 2017

Add a Comment

Login with GitHub to post a comment