开发者

What maximum value I can set in the Session Lifetime field under global configuration of Joomla?

开发者 https://www.devze.com 2023-02-04 18:24 出处:网络
I want to know what maximum value I can set and joomla 开发者_StackOverflowaccept in the field Session Lifetime under global configuration. so that I can set the maximum acceptable value here.

I want to know what maximum value I can set and joomla 开发者_StackOverflowaccept in the field Session Lifetime under global configuration. so that I can set the maximum acceptable value here.

I want to increase the session life time for frontend of joomla and I think this value must me under the maximum limit joomla accept.

see attached.

What maximum value I can set in the Session Lifetime field under global configuration of Joomla?

any idea..?

Thanks.


In the core Joomla login module there is an option for "Remember Me". When the user selects that option they stay logged in until the click the logout button. You can do a couple of things if you want users to stay logged in, both can be done with a template override.

First, make a copy of JOOMLA INSTALL/modules/mod_login/tmpl/default.php and place it in JOOMLA INSTALL/YOUR TEMPLATE/HTML/mod_login/default.php

Next, edit that new file. If you want to default the remember me as checked look near line 48 and change it to:

<input id="modlgn_remember" type="checkbox" name="remember" class="inputbox" value="yes" alt="Remember Me" checked />

Or if you want users to automatically stay logged in without having an option to turn it off, look near line 48 and change it to:

<input id="modlgn_remember" type="hidden" name="remember" class="inputbox" value="yes" alt="Remember Me" checked />

That should fix your problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号