Resolved Poll Question - "Staying Logged In"

vtcnc

Admin
Staff member
H-M Lifetime Diamond Member
Joined
Jun 29, 2014
Messages
4,300
The infamous "Staying Logged In" problem appears to be back for a few users. I have been doing some troubleshooting on the issue and have ruled out the following possible causes:

- Xenforo software is fine,
- this is not a permission or user upgrade issue,
- our server configuration is good,
- there are no add-in conflicts that I can identify,
- cookies are set properly.

The one issue that I haven't been able to pin down is if the issue is specific to a particular browser or settings amongst different browsers. Before I chase that ghost, I'd like to hear from the members here on a) if you have a problem staying logged in or not and b) which browser you are using. Please answer the poll to help me troubleshoot this issue.

Thanks,
Bryan (vtcnc)

Background: "Staying Logged In" is an option at the login screen. You check the box, "Stay Logged In" before you submit your credentials so that you do not have to continue to submit user credentials every time you visit the forum.

How it is supposed to work: when you close a tab in your browser, or close your browser software you are still "logged in". When you come back to your browser and visit the H-M forum, you will already be logged in and go straight to the forum content.

How it is actually working: Members must login every time they comeback to H-M, or some frequency that ranges from a few days to a week. In other words, it is intermittent with little rhyme or reason. I want to stress that this has been reported by a handful of users. I suspect many of us are dealing with it but have learned to just deal with it since it is only a couple of extra steps and most of us have our username and password saved in our browsers. So logging in every time is literally just clicking the login button and then the submit button.
 
Ok, I've been researching this one for the past week. I found a pretty obscure bug reported last year on the Xenforo community and I think I may have this fixed and would like to have some users who have the "staying logged in" problem test this out.

So, let's review the problem:

Users reported that after logging in and clicking the "Remember Me" box, that their web browser didn't keep them logged in, after closing their web browser. This has been confirmed on multiple browsers and operating systems.

Solution: there is an obscure setting in the cookie configuration file that helps the cookie transfer on login requests when certain conditions are met - in this case we are specifically referring to the "Remember Me" setting. I've enable this and was able to resolve the problem in Chrome.

Request: If you have had the problem as reported above, please test and report back here your findings. I would like to know specifically if you can close the browser and then reopen it to find that you are still logged in. Please report if you cleared your cookies or not.

Thanks,
Bryan
 
Upvote 0
So far it is staying logged in. Even after closing browsers. But for me it was intermitent so it may take time to do it again. but right now it looks good. Thank you
 
Upvote 0
Back
Top