Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Bobn on March 08, 2010, 10:35:28 PM

Title: Sessions?
Post by: Bobn on March 08, 2010, 10:35:28 PM
Hi peeps,

Is there a settings for sessions? My users check "forever" but they are logged out when they come back?
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 08:38:11 AM
Anyone?
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 08:39:26 AM
Does their browser clear their cookies?

Every user?
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 08:53:16 AM
Quote from: Arantor on March 11, 2010, 08:39:26 AM
Does their browser clear their cookies?

Every user?

yes
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 08:56:18 AM
Which question was answered yes?
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 12:15:59 PM
Any computer,, even if they have "forever" checked
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 12:41:15 PM
So is it every user?
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 12:45:08 PM
Yes
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 12:46:24 PM
Are you using database-driven sessions? (See Admin > Server Settings)
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 12:48:47 PM
Yes,
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 12:56:50 PM
Please tell me what ALL the settings in Admin > Server Settings > Cookies and Sessions are set to.
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 01:01:44 PM
Cookie name:  SMF Cookie11
Default Log in length:  2147483647
Ename local  storage of cokies: unchecked
Use Subdomain Independent: unchecked
Force cookies: grayed out
Use Database driven sessions: checked
Allow berwsers to go back to c pages: checked
Seconds before an unused session timeout: 2147483647
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 01:25:14 PM
Still here?
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 01:33:08 PM
Please don't bump within 24 hours. Contrary to popular belief, I do have other things to do rather than just answering support questions like some kind of machine.


Right, so what mod have you got that's breaking logins?
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 01:35:42 PM
Quote from: Arantor on March 11, 2010, 01:33:08 PM
Please don't bump within 24 hours. Contrary to popular belief, I do have other things to do rather than just answering support questions like some kind of machine.


Right, so what mod have you got that's breaking logins?

Sorry

3.     Users Online Today      1.5.6       [ Uninstall ]  [ List Files ]  [ Delete ]
4.    Ad Seller Pro    1.0.3.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    FantasticSmileys    1.0    [ Uninstall ] [ List Files ] [ Delete ]
6.    Yarex 2 smiley set
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 01:37:17 PM
Change default log in length to 60, and session timeout to 2880.
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 01:39:51 PM
Done
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 01:40:37 PM
And...?
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 01:44:26 PM
Quote from: Arantor on March 11, 2010, 01:40:37 PM
And...?

It may have worked! I will post a yes or no in about an hour then we can close this case. Thank you a bunch!
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 04:10:07 PM
Still doing it  :(
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 04:11:10 PM
Now change the cookie name.

It'll log everyone out immediately to start with but ensures it's all fresh.
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 04:19:19 PM
Quote from: Arantor on March 11, 2010, 04:11:10 PM
Now change the cookie name.

It'll log everyone out immediately to start with but ensures it's all fresh.

dun,

But I wonder if its Fire Fox on my end?
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 04:22:30 PM
You said it applied to all users.
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 04:25:05 PM
Quote from: Arantor on March 11, 2010, 04:22:30 PM
You said it applied to all users.

Yes it did, but I always wonder if its a local problem with mine and FF. Sent you a temp log in if you have time to test.
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 04:26:55 PM
Try another browser then.

As for the PM, I already deleted it before seeing this message; my sig does say about not PMing me.
Title: Re: Sessions?
Post by: Bobn on March 11, 2010, 04:29:11 PM
Quote from: Arantor on March 11, 2010, 04:26:55 PM
Try another browser then.

As for the PM, I already deleted it before seeing this message; my sig does say about not PMing me.

Didnt know there were any other browsers ;) Thanks for your help, sorry about the PM
Title: Re: Sessions?
Post by: Arantor on March 11, 2010, 04:30:20 PM
There's Internet Explorer, Firefox, Opera, Chrome, Safari... I personally use Chrome because it has a lower footprint and higher speed on my machine than the others.
Title: Re: Sessions?
Post by: bpratt on January 07, 2011, 07:21:23 PM
I have noticed this happening on one of my forums lately.

One of the things in my log is showing that there are a lot of failed logins by those same users that are being disconnected, and those failed logins are from IP addresses that are not of their own.


Does SMF (in my case 2.0RC3), wipe the cookie of the user if they attempt to login from another IP address ??