How to set session timeout limit for frontend users in joomla 2.5? I had set the Session Lifetime option in Global configuration but it sets the limit in backend only.
相关问题
- How can I change the Joomla administrator URL By P
- Joomla >1.7 hide log messages from browser
- Joomla 2.5 creating component and saving data
- Joomla - how to hightlight the menu item for activ
- Joomla! - How to add extra information for user re
相关文章
- Fatal error: Call to a member function getKeyName(
- How to import Joomla to Azure?
- How to center images in a responsive grid with CSS
- offcanvas menu link broken
- access joomla session in php - codeigniter
- How to get article intro Image by Id Joomla 3
- Internal article links in Joomla
- Best way to prevent SQL injections in Joomla
From my tests I have the opinion that the value you set in back-end (Global Configuration > System > Session Lifetime) is used for back-end as well as for front-end.
You may want to check that value you are getting in frontend. Use the code below:
It looks to me that JFactory is responsible with setting the expiration time. It uses the config time or if absent it uses 900 seconds (15 minutes).
Try this plugin. According to my knowledge.
If you are to
Session Control Plugin
Session Keeper
Other option
you can comment the line
JHtml::_('behavior.keepalive');
on top in the file modules/mod_login/tmpl/default.phpAfter that the time from the backend will also expires the frontend as well as backend