Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: APX808 on August 04, 2016, 11:21:14 AM

Title: Remember me stopped working
Post by: APX808 on August 04, 2016, 11:21:14 AM
Hey guys

We had been using SMF forum for a long time without issues, but a few months ago some people started having issues with the "remember me" functionality, and the forum asked them to login on each visit.

Then it just fixed by itself, now, some weeks after that the same started happening, you login selecting remember me forever, and some time after that, you go to the forum and need to login again.

The version we are using is SMF 2.0.11 and we didn't do any configuration changes in the forum, so I don't know why this erratic behaviour.

I checked the admin error logs and can't see any error that could be remotely related to this.

Do any of you know what could be happening?
Is anyone else having the same issue?

Thanks for your help


Title: Re: "Remember Me" function stopped working
Post by: Siirist on August 04, 2016, 01:01:52 PM
Hi APX808,

Not enough information here.
It's like saying you have a 2015 Chevy 1/2 ton Pick-Up that made a sound, stopped making the sound, and has started making the sound again.

See my signature for some of the information we need, and I believe that you should all so attach you error log when you post next.

Just my thoughts,
Siirist
Title: Re: Remember me stopped working
Post by: Sir Osis of Liver on August 04, 2016, 03:38:19 PM
Admin -> Server Settings -> Cookies and Sessions

Change the cookie name, that will logout all members and require them to login with a fresh cookie.

What are your cookie settings?
Title: Re: Remember me stopped working
Post by: APX808 on August 04, 2016, 03:45:39 PM
As I mentioned in my first post @siirist the forum has been working flawlessly for months, and no changes in configuration or modules updates were performed but the cookies stopped working, also error log has no interesting errors, just wrong password on a few users.

@Sir Osis of Liver

Here is a screenshot of the cookies settings

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FNFiM24X.png&hash=e2bda54cdef5f2ae8c265fb5ef8ce243a39bfd79)

I already changed the cookie name to see if setting a new one fixes the issue, I'll let you know what happens.

The session expire in the cookies is: 03/08/2022 16:46:53



Title: Re: Remember me stopped working
Post by: APX808 on August 04, 2016, 03:58:29 PM
Just in case this is helpful, here is the installed packages

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FpVGFtjS.png&hash=bc3b4cb2d075c98f7bd687ea0dc8eb4a8b173c06)
Title: Re: Remember me stopped working
Post by: Sir Osis of Liver on August 04, 2016, 04:16:46 PM
If you haven't changed anything coincident with this problem appearing, it's unlikely your settings or mods are causing it.  It is possible that your host has changed something, but as the problem comes and goes, that's not likely either.  Only thing I can suggest is try checking 'Enable local storage of cookies' or 'Use subdomain independent cookies' if it happens again.
Title: Re: Remember me stopped working
Post by: Siirist on August 04, 2016, 05:24:40 PM
APX808,

The reason I asked for the list of Mods is I thought that the senior helpers would like to see:
SMF 2.0.11 Update
SMF 1.1.21 / 2.0.10 Update
SMF 1.1.20 / 2.0.9 Update
SMF 2.0.7 Update
SMF 1.1.19 / 2.0.6 Update
SMF 2.0.5 Update
SMF 2.0.1 Update
and
SimplePortal 2.3.3

I have not had this issue and I attached a screenshot of my cookie settings as a comparison i.e., my settings are "lower"? than yours.

Hmmm . . .

Stepping out of this, as it is above my experience.
You are in good hands with "Sir".

Best Wishes,
Siirist