How can I keep users logged in permanently
How can I keep users logged in permanently
Collapse
X
-
Tags: None
-
If you click Remember Me, it will only remember your login in the cookie for 30 days in the specific browser you're using in that same computer/device.
Even if you modified the php code to remember the cookie for years, the user will still be logged out if the cookie is deleted. -
If you click Remember Me, it will only remember your login in the cookie for 30 days in the specific browser you're using in that same computer/device.
Even if you modified the php code to remember the cookie for years, the user will still be logged out if the cookie is deleted.
I tried already, but practically, it doesn't keep me logged in for 30 days only 15 minutes. Is there a problem in my server?Comment
-
Do you allow users to login to your site via both http://www.yoursite.com and just http://yoursite.com? If so, then you MUST have your cookie domain (AdminCP > Settings > Options > Cookies and HTTP Header Options > Cookie Domain) set to ".yoursite.com" (no quotes, but note the period at the beginning) or your users will have problems.
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
-
Do you allow users to login to your site via both http://www.yoursite.com and just http://yoursite.com? If so, then you MUST have your cookie domain (AdminCP > Settings > Options > Cookies and HTTP Header Options > Cookie Domain) set to ".yoursite.com" (no quotes, but note the period at the beginning) or your users will have problems.
It is already set to ".sandroses.com" before.
Comment
-
Have you checked the uptime of your mysql server? If that goes down, all the sessions get dropped.
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
-
I checked the mysql uptime and I think it is fine:
mysql> SHOW GLOBAL STATUS LIKE 'Uptime';
+---------------+---------+
| Variable_name | Value |
+---------------+---------+
| Uptime | 2663102 |
+---------------+---------+
1 row in set (0.04 sec)
Comment
-
I have this issue too on my 2 forums ..
My forums keeps me logged in for only 30 minutes, although I click Remember Me !!
Comment
-
-
Delete your cookies, all of them, and try again. This happens when cookies get corrupted or duplicated which happens frequently with browsers.
However with a cookie based system like vBulletin's, there is no way to guarantee 100% login. The cookie system simply isn't designed that way.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment