Login Session Expires After Closing Site

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Login Session Expires After Closing Site

Post by JeRicHoOL »

For some reason every time I close my site I have to log in again. I had this issues a few years ago already but can't remember how I fixed it. It was fine ever since. However, some days ago I uninstalled my Firefox (deleted everything) and re-installed it again. Also, checking the "Log me in automatically after each visit" doesn't change anything. Can anyone please tell me how to fix this issue?

Forum: phpBB 3.0.9
Browser: Firefox 11
Session Length: 3600 Seconds = 1 Hour

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22268
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Login Session Expires After Closing Site

Post by Mick »

Can you post a link to your board please?
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Login Session Expires After Closing Site

Post by JeRicHoOL »

http://indy-gaming.com/

PS: Doesn't seem to happen on IE.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22268
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Login Session Expires After Closing Site

Post by Mick »

Your Cookie domain: is showing www.indy-gaming.com and it should be .indy-gaming.com (note the leading dot)

Fixing incorrect cookie settings
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Login Session Expires After Closing Site

Post by JeRicHoOL »

Mick wrote:Your Cookie domain: is showing www.indy-gaming.com and it should be .indy-gaming.com (note the leading dot)

Fixing incorrect cookie settings
Nope, no change at all. I doubt it's site related because no one has changed anything. It must be something with my Firefox but I already deleted cookies and don't know what else it could be there.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22268
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Login Session Expires After Closing Site

Post by Mick »

JeRicHoOL wrote:Nope, no change at all
You've not changed the cookies settings yet so how do you know? Either way, the cookie settings are incorrect.
JeRicHoOL wrote:every time I close my site I have to log in again
What do you mean by this? Does this happen just to you or are all your users experiencing it?
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Login Session Expires After Closing Site

Post by JeRicHoOL »

I did test it with the new cookie setting but it didn't work so I changed it back. Like I said, no one has changed anything the past days. This issue just started happening for me when I uninstalled and deleted all my Firefox files and installed a fresh version again.

PS: It seems to be working now but I haven't changed anything. If the issue returns again I'll post here.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22268
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Login Session Expires After Closing Site

Post by Mick »

Trust me, your cookie settings are wrong!
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Login Session Expires After Closing Site

Post by JeRicHoOL »

Now I can't log in anymore. Again, I haven't changed anything now. :?

Just deleted all cookies for the site in my Firefox and I can log in again.
I changed the cookie settings again like you told me earlier. Will leave it like that for a bit longer to watch the bahaviour of the log-in session.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22268
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Login Session Expires After Closing Site

Post by Mick »

Have you tried, before trying to log in, clicking "Delete all board cookies" at the bottom of your board? You could also try renaming your cookie to something unique like phpbb_yhi3n.
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Login Session Expires After Closing Site

Post by JeRicHoOL »

Mick wrote:Have you tried, before trying to log in, clicking "Delete all board cookies" at the bottom of your board? You could also try renaming your cookie to something unique like phpbb_yhi3n.
Will do that when the issues comes up again. So far it hasn't logged me out since my last post here.

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Login Session Expires After Closing Site

Post by JeRicHoOL »

For some reason some of my users still have this problem. When they log in they are logged out automatically again. For some it works though after deleting cookies.

Cookie Domain: .indy-gaming.com
Cookie Name: phpbb_yhi3n
Cookie Path: /

Is there anything else they can do/delete besides cookies in their browser?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22268
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Login Session Expires After Closing Site

Post by Mick »

Try changing the setting ACP> Security settings> Session IP validation to A.B.

If that doesn't help have you got a test account please?
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

Locked

Return to “[3.0.x] Support Forum”