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.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm

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

Post by Phil »

For all of you with subdomains, etc, it should be noted that a cookie domain can contain no more than two full stops (.), so for, say, my.really.long.subdomain.com, you could only put long.subdomain.com -- if that doesn't work, try just .subdomain.com
Moving on, with the wind. | My Corner of the Web
User avatar
darcie
Former Team Member
Posts: 5546
Joined: Thu Jul 27, 2006 9:52 am
Location: Davis, California
Name: Darcie Griffin

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

Post by darcie »

@ icewinged- does this happen when you use that link, or when you use the link from the main site (http://digital-wing.com/somagical/forum/)? I'd suggest setting the domain to .digital-wing.com, as noted by iWisdom above. If doing that alone does not work, try adjusting cookie paths next.
Not here very much, but I still appreciate you | Former Community Team
icewinged
Registered User
Posts: 2
Joined: Sat Jun 21, 2008 4:45 pm

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

Post by icewinged »

It happens to both URLs (sorry I forgot to note that before). The .digital-wing.com works, thanks so much!
Rum@NoV
Registered User
Posts: 17
Joined: Sun Jan 08, 2006 9:23 pm

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

Post by Rum@NoV »

Rum@NoV wrote:Hello,

Just been reading through the whole thread but i can't seem to find the solution here. Our host recently decideded to stop its business, so since the forum is only used by a few people, i've decided to host the forum on my own pc. I use no.ip.com to forward my link.

The forum is located on http://3xfclan.servegame.com/forum

My cookie settings are as followed:

Cookie domain: .3xfclan.servegame.com
Cookie name: phpbb_3xf
Cookie path: /forum
Cookie secure: disabled

Tried it in both ie and ff. Any help is appreciated :oops:
I still can't get it working :( Should i place my computer's IP adress (because i'm hosting the forum) in the cookie domain? I've tried .servegame.com but no go. I also changed to cookie name and path without effect.

What am i missing here :?
Rum@NoV
Registered User
Posts: 17
Joined: Sun Jan 08, 2006 9:23 pm

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

Post by Rum@NoV »

I placed my computer's IP in the cookie domain and now it works :) Don't know this is the right way to go, but it works!
trnhockey
Registered User
Posts: 6
Joined: Tue Jul 31, 2007 8:22 pm

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

Post by trnhockey »

Wow this is very annoying. I'm very surprised nobody has created a global fix for this. I've tried everything in this thread and nothing worked. I posted the following earlier and nobody has yet to respond ....

Just installed 3.01 yesterday. Everything works fine except after logging and closing my browser I open a new browser and have to login again everytime! I can understand doing this for the admin panel but regular users are going to get tired of doing this each time just to use the forum. Why isn't it saving cookies?

My cookie settings for this forum http://74.220.215.231/~vintagg2/meet/index.php? are ..


Cookie domain: vintagebroadcast.com
Cookie name: phpbb3_j3d6
Cookie path: /
Cookie secure: disabled

Any help would be greatly appreciated!
m.nash
Registered User
Posts: 2
Joined: Thu Jul 17, 2008 1:53 pm

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

Post by m.nash »

A_Jelly_Doughnut wrote:
jledhead wrote:I am having the same problem but I am using shortnames instead of fqdn since this is an internal forum. my forum is http://helpdesk/phpbb and my cookie domain is helpdesk. I read above that there needs to be 2 dots, like .example.com and I don't see how this will work with shortnames. I have tried changing settings, clearing cache, different browser, different computer, and it happens regardless. everytime I close the browser it logs me off.
To make phpBB work right on that URL, you'll probably need to make a small code change in /includes/session.php

In the set_cookie function, there is a check to see if the domain name is "localhost". Simply change "localhost" to "helpdesk" and see if that helps you :)
Awesome. Followed the same advice for my url. Worked like a charm.

Thanks guys!!
kronnek
Registered User
Posts: 7
Joined: Mon Aug 25, 2008 11:46 pm

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

Post by kronnek »

Hi, notice the thread is over a month old.. but.. i'm at my wits end trying to figure this out... I cannot get the log me in automatically every time I vist to work at all.. even after looking at the help in this topic... here are my settings:

Your board's URL: eliteadventurers.com
Version of phpBB3: 3.0.2
Was this a fresh install or a(n) update/upgrade/conversion (please be specific)?
the message base and the users have been migrated from phpnuke 7.x a while ago phpbb2 then to release canidate 3 then to where i am at now.
Did you use an automated wizard provided by your host to install phpBB? No.
MODs you have installed: None
When the problem started: Since converting to phpbb3 from phpbb2
Your level of expertise (be honest): decent

Cookie domain: .eliteadventuers.com
Cookie name: phpbb3_guildloea
Cookie path: /
Cookie secure: disabled

any ideas or someone framiliar with cookies can come to my site and tell me if my board is even spitting one out?

thanks

PS sorry, shoulda read the request for support template.
Last edited by kronnek on Tue Aug 26, 2008 5:44 am, edited 2 times in total.
User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm

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

Post by Phil »

A link to your board would also be helpful ;)
Moving on, with the wind. | My Corner of the Web
kronnek
Registered User
Posts: 7
Joined: Mon Aug 25, 2008 11:46 pm

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

Post by kronnek »

http://eliteadventurers.com

here's the link and ty for your time
kronnek
Registered User
Posts: 7
Joined: Mon Aug 25, 2008 11:46 pm

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

Post by kronnek »

Been over 6 hours so I'm gonna' bump this.. Anyone have an idea? I've had the problem for a long while.. Since the conversion to phpbb from phpnuke or from phpbb2 to phpbb3.. I'm very sure I've entered the cookie settings right because I have setup a fresh phpbb3 test board as a subdomain and it was remembering login info with similar settings that I have on eliteadventurers.com. I also have other domains with phpbb3 hosted with no problems, but again these were clean installs...

I'm sure it's something stuck in a table somewhere during one of the conversions, I emptied sessions and keys table.. no good. No matter what I do, if I open a new tab or close the window .. I have to log back in.

Please please help. I'm about ready to offer to buy someone beer to fix me up. :) I'll be bumping again tomorrow.. I'll repost my server info...

Thanks again guys..

Your board's URL: eliteadventurers.com
Version of phpBB3: 3.0.2
Was this a fresh install or a(n) update/upgrade/conversion (please be specific)? Conversion then upgrade.
phpnuke -> phpbb2 -> phpbb3 RC -> phpbb3
Did you use an automated wizard provided by your host to install phpBB? No.
MODs you have installed: None
When the problem started: Approx a year ago
Your level of expertise (be honest): intermediate

Additionally, you may wish to provide the following (where applicable)
Template(s) used: prosilver and arrow
Language(s) used: english
Version of PHP used: 5.2.4
Database and version used: mysql 4.1.22

Cookie settings

Cookie Domain:
I tried ".eliteadventurers.com" and "eliteadventurers.com" and "www.eliteadventurers.com" without quotes
Cookie Name: phpbb3_im733
Cookie Path:
I tried "/" and "/phpBB3" without quotes

:cry:
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52800
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve

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

Post by stevemaury »

If the cookie domain is .eliteadventurers.com, your cookie settings are correct.

Have you set Allow Persistent Logins to Yes in the ACP, Security settings?
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
kronnek
Registered User
Posts: 7
Joined: Mon Aug 25, 2008 11:46 pm

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

Post by kronnek »

Yes and ty for taking the time to look at this. :D
kronnek
Registered User
Posts: 7
Joined: Mon Aug 25, 2008 11:46 pm

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

Post by kronnek »

fixed on own.

installed new copy of phpbb3 on subdomain, deleted all tables cept for the sessions and the config table..
exported everything from old board cept for sessions tables and config.. grafted into new one..

worked fine.. moved new board to where old board was.. got lucky.. no amount of cookie clearing, browser changing or setting changing seemed to do it. not sure why that fixed it when nothing else did .. still wondering why it was doing it but, it's fixed so i'm not complaining.

thanks for your help.

:geek:
The Marcos Graveyard
Registered User
Posts: 2
Joined: Wed Aug 27, 2008 1:01 pm

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

Post by The Marcos Graveyard »

We have been having this problem at www.irishminis.ie/forum since we changed over to phpBB3 some months ago. All members of the forum have to log in at every visit, automatic log in will not work.

Here are the present settings

Allow persistent logins: Yes

Cookie Domain: .irishminis.ie
Cookie Name: phpbb3_2j7jd
Cookie Path: /forum
Cookie Secure: Disabled

Any help would be gratefully accepted.

Thanks in advance,
TMG

Return to “[3.0.x] Support Forum”