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.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
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 »

DragonQ wrote:Nope, it just logged me out upon refreshing again.

My cookie settings are:

Domain: aotplaza.hostagig.com
Name: phpbb3_lzymh
Path: \
You may continue to have problems due to having two different domains (you originally had aotplaza.elementfx.com before I clicked to reply) or it may be due to the path slash going the wrong direction.
Not here very much, but I still appreciate you | Former Community Team
jledhead
Registered User
Posts: 3
Joined: Fri Jan 18, 2008 7:28 pm

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

Post by jledhead »

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.
sparx
Registered User
Posts: 3
Joined: Thu Feb 27, 2003 6:15 pm

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

Post by sparx »

I am having the same problem, exact same situation. Not using the fqdn (.domain.com) because it is to be used internally. See earlier post It would be nice to have an option to not use the FQDN for automatic login/cookies.
joephus
Registered User
Posts: 5
Joined: Fri Jan 18, 2008 11:04 pm

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

Post by joephus »

darcie wrote:
DragonQ wrote:Nope, it just logged me out upon refreshing again.

My cookie settings are:

Domain: aotplaza.hostagig.com
Name: phpbb3_lzymh
Path: \
You may continue to have problems due to having two different domains (you originally had aotplaza.elementfx.com before I clicked to reply) or it may be due to the path slash going the wrong direction.

It going to be more than that. People who do not have any of those specific setting issues have the same problem.
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34459
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run

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

Post by A_Jelly_Doughnut »

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 :)
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
Rainermx
Registered User
Posts: 11
Joined: Tue Jan 15, 2008 5:39 pm

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

Post by Rainermx »

Hi Guys,

I have just managed to get the Automatic Login to work ;)

In phpBB 3.0 under Server Configuration > Security settings > " Session IP validation "

Set this to "none"


Does it work now ?

saludos Rainer
jledhead
Registered User
Posts: 3
Joined: Fri Jan 18, 2008 7:28 pm

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

Post by jledhead »

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 :)
worked like a champ. many thanks.
BlueTears
Registered User
Posts: 30
Joined: Mon Dec 24, 2007 4:49 am

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

Post by BlueTears »

Thanks for the fix !

BT
BioLogIn
Registered User
Posts: 172
Joined: Sun Jan 06, 2008 10:51 am

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

Post by BioLogIn »

DragonQ
"Path: \"
=>
"Path: /"
??
97SiR
Registered User
Posts: 12
Joined: Mon Jul 10, 2006 6:04 pm

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

Post by 97SiR »

Rainermx wrote:Hi Guys,

I have just managed to get the Automatic Login to work ;)

In phpBB 3.0 under Server Configuration > Security settings > " Session IP validation "

Set this to "none"


Does it work now ?

saludos Rainer
I don't know if I want to try that because I'm afraid it might screw up something else on the board.
robleach
Registered User
Posts: 24
Joined: Fri Jan 21, 2005 6:06 pm

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

Post by robleach »

97SiR wrote:
Rainermx wrote:In phpBB 3.0 under Server Configuration > Security settings > " Session IP validation "

Set this to "none"
I don't know if I want to try that because I'm afraid it might screw up something else on the board.
I tried it. It doesn't work for me. I made the change last weekend. Today I logged into the board, quit Safari (without logging out), started it back up, went back to the board, and it still wanted me to log in again. :|

Rob
joephus
Registered User
Posts: 5
Joined: Fri Jan 18, 2008 11:04 pm

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

Post by joephus »

robleach wrote:
97SiR wrote:
Rainermx wrote:In phpBB 3.0 under Server Configuration > Security settings > " Session IP validation "

Set this to "none"
I don't know if I want to try that because I'm afraid it might screw up something else on the board.
I tried it. It doesn't work for me. I made the change last weekend. Today I logged into the board, quit Safari (without logging out), started it back up, went back to the board, and it still wanted me to log in again. :|

Rob
Didn't work for me either...
robleach
Registered User
Posts: 24
Joined: Fri Jan 21, 2005 6:06 pm

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

Post by robleach »

I just tried with Firefox and it doesn't keep me logged in either (e.g. go to board in a browser, login (checking the automatic login option), quit browser, launch browser, go to board... damn, must login again). What browser/OS combinations does it actually work in? It's never worked for me in version 3, though it used to work in phpBB2. How do we submit a bug report or is there already one in? I'd like this feature to be functional for all my visitors.

Rob
joephus
Registered User
Posts: 5
Joined: Fri Jan 18, 2008 11:04 pm

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

Post by joephus »

robleach wrote:I just tried with Firefox and it doesn't keep me logged in either (e.g. go to board in a browser, login (checking the automatic login option), quit browser, launch browser, go to board... damn, must login again). What browser/OS combinations does it actually work in? It's never worked for me in version 3, though it used to work in phpBB2. How do we submit a bug report or is there already one in? I'd like this feature to be functional for all my visitors.

Rob
I actually need to edit my post. I noticed I had a typo in the cookie domain so after fixing that it worked. So having the cookie domain setup right and disabling IP Validation worked for me on FireFox 2.0.0.11 and IE 7.
MSUBear42
Registered User
Posts: 26
Joined: Mon Jan 28, 2008 1:23 am

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

Post by MSUBear42 »

joephus wrote:
robleach wrote:
97SiR wrote:
Rainermx wrote:In phpBB 3.0 under Server Configuration > Security settings > " Session IP validation "

Set this to "none"
I don't know if I want to try that because I'm afraid it might screw up something else on the board.
I tried it. It doesn't work for me. I made the change last weekend. Today I logged into the board, quit Safari (without logging out), started it back up, went back to the board, and it still wanted me to log in again. :|

Rob
Didn't work for me either...
It didn't work for me either.

Is there any solution??? It's really annoying to have to log in every time.
My forum is http://www.bear-nation.com

Return to “[3.0.x] Support Forum”