Log me on automatically each visit, don't work

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
DonkeyBike
Registered User
Posts: 75
Joined: Sun Sep 16, 2007 1:20 am

Re: Log me on automatically each visit, don't work

Post by DonkeyBike »

Sorted,

Cookie Domain: .domainname.com
Cookie Name: phpbb3_newname
Cookie Path: /
Cookie Secure: Disabled

Works a treat !!!!!

Thanks very very much darcie, you da man.
bimjim
Registered User
Posts: 191
Joined: Sat May 13, 2006 2:09 am
Location: Toronto, Canada

Re: Log me on automatically each visit, don't work

Post by bimjim »

bump
JonoE
Registered User
Posts: 5
Joined: Mon Nov 03, 2008 1:46 pm

Re: Log me on automatically each visit, don't work

Post by JonoE »

I have looked at the posts and tryed them.

He are my setting.

Cookie Domain: .thedaclan.gamingdeluxe.co.uk
Cookie Name: phpbb3_daclan
Cookie Path: /phpbb3
Cookie Secure: Disabled

People help before my clan kill me.

Jono
User avatar
darcie
Community Team Member
Community Team Member
Posts: 5543
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin
Contact:

Re: Log me on automatically each visit, don't work

Post by darcie »

Change your cookie path to /DAforums (which is where your forum is located) and your cookie name to phpbb3_daclan1 (to force a new cookie for all) and you should be set.
phpBB on Facebook | Site Rules | Former Community Team leader
_dB_
Registered User
Posts: 6
Joined: Wed Nov 05, 2008 7:18 am

Re: Log me on automatically each visit, don't work

Post by _dB_ »

darcie,

Could you please assist?, users also logged out the next day.

My cookie config is:

Cookie domain: .gwagen.co.za
Cookie name: phpbb3_oj51s (never changed this)
Cookie path: /
Cookie secure: Disabled

My BB is located in "/forum", but from what I have read here, the "/" path in my settings should not be a problem?

I also have an automatic redirect from gwagen.co.za to www.gwagen.co.za/forum. Is this an issue?

When you visit the board, the name is shown in the "users online", but you still need to log in? :?

TIA
User avatar
darcie
Community Team Member
Community Team Member
Posts: 5543
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin
Contact:

Re: Log me on automatically each visit, don't work

Post by darcie »

I see no issues with the cookie settings. What are the settings in ACP > Security settings for:
Allow persistent logins:
Persistent login key expiration length (in days):
And in Load settings, the Session length:

You can delete my test account too. ;)
phpBB on Facebook | Site Rules | Former Community Team leader
_dB_
Registered User
Posts: 6
Joined: Wed Nov 05, 2008 7:18 am

Re: Log me on automatically each visit, don't work

Post by _dB_ »

Wow, thanks for the quick reply!

Persistent logins: Enabled.

Persistent login key expiration length: 0 (I figure this disables this functionality?)

Session length is 3600 seconds. Is this relevant?

Would you mind vising the BB tomorrow again to see if you are still logged in?

TIA

Just a general Q: If I ever change cookie settings, how do I "force" browsers to use new info? By changing the cookie name?
User avatar
darcie
Community Team Member
Community Team Member
Posts: 5543
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin
Contact:

Re: Log me on automatically each visit, don't work

Post by darcie »

You caught me at a good time. ;)

Those all look fine too...
I'll try logging in and clicking the box and check again tomorrow then, as you asked.

And yes, changing the cookie name would be the correct way to force the new settings.
phpBB on Facebook | Site Rules | Former Community Team leader
_dB_
Registered User
Posts: 6
Joined: Wed Nov 05, 2008 7:18 am

Re: Log me on automatically each visit, don't work

Post by _dB_ »

Thnx!
User avatar
Lumpy Burgertushie
Registered User
Posts: 68181
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Log me on automatically each visit, don't work

Post by Lumpy Burgertushie »

JonoE wrote:I have looked at the posts and tryed them.

He are my setting.

Cookie Domain: .thedaclan.gamingdeluxe.co.uk
Cookie Name: phpbb3_daclan
Cookie Path: /phpbb3
Cookie Secure: Disabled

People help before my clan kill me.

Jono
and remove the dot from the front. in this case , you should not have it.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
User avatar
Lumpy Burgertushie
Registered User
Posts: 68181
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Log me on automatically each visit, don't work

Post by Lumpy Burgertushie »

actually, you too should remove the dot from in front of your cookie domain. you don't use it when you already have two or more in the domain.

also, if your board is installed at /forum then your cookie path should be /forum and your script path should be /forum/


make those changes and change the cookie name again and then purge the cache and test.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
_dB_
Registered User
Posts: 6
Joined: Wed Nov 05, 2008 7:18 am

Re: Log me on automatically each visit, don't work

Post by _dB_ »

Thanks Robert,

My script path is currently "/forum", is the trailing "/" necessary?

I changed the cookie path, removed the extra . and renamed the cookie. Then purged. Will see tomorrow ....

Thanks again!
zukinaru
Registered User
Posts: 4
Joined: Wed Aug 27, 2008 2:45 pm

Re: Log me on automatically each visit, don't work

Post by zukinaru »

Thank you ! my website face this problem also.. now its fixed.
webproxiez.com
_dB_
Registered User
Posts: 6
Joined: Wed Nov 05, 2008 7:18 am

Re: Log me on automatically each visit, don't work

Post by _dB_ »

I tried again this morning, and still not remembering users....tried this in Firefox on both Windoze and Linux :?

What exactly is the relevance of the "purge" wrt cookies?

Should the "cookie mod procedure" always entail:
1) change cookie settings
2) change cookie name
3) purge?

Or is the purge optional?
snakeplace.nl
Registered User
Posts: 8
Joined: Thu Nov 06, 2008 10:59 am

Re: Log me on automatically each visit, don't work

Post by snakeplace.nl »

Hi guys,

I have the exact same problem over here.

Direct link: http://www.kb-boas.com/phpBB3
Redirected link: http://www.snakeplace.nl

I did enable the auto login mode, and the auto login key length left at 0, also tried 365..

Cookie settings tried 2 different settings, tested on both direct link and redirected. Both are NOK.

Cookie domein: .kb-boas.com
Cookie naam: cookie_1234
Cookie pad: /phpBB3/cookie
Cookie secure [ https ]: Disabled

Cookie domein: .snakeplace.nl
Cookie naam: cookie_1234
Cookie pad: /phpBB3/cookie
Cookie secure [ https ]: Disabled

What's going wrong, it is driving me nuts :oops:
Locked

Return to “[3.0.x] Support Forum”