Remember me doesn't work

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators


Remember me doesn't work

Postby DaMick » Sun Jun 22, 2008 10:49 am

Hi all

I seem to have a problem with the remember me function when a user logs in. When he checks the box, closes the browser and then go back to the site, he needs to re-login again.

As far as I know, my cookie settings look fine:

cookiedomain: domain without www
cookiename: domain without www
cookiepath: / => domain is in root folder
cookiesecurity: disabled

Could there be another problem?

And a second small question. I would need to upgrade my board to 3.0.1. But my board now is getting pritty mod up. Isn't there a download available where all the code changes are explained like in the phpbb 2 boards?

Thank you in advance
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Advertisement

Postby SeO » Sun Jun 22, 2008 11:59 am

For the cookie settings you should use :

cookiedomain:".example.com" (with the dot ".") in all cases.

And then either use the www prefix or not for the server domain, depending on which one do you want to use (eg example.com or -www.example.com)

For the update packages, phpBB.com provides with several, on automatic and one with only the changed files and the db update script.

There is no list of code change in 3.0.1 (will be one in 3.0.2), but it's pretty much useless given the huge amount of code changes.
It's easier IMO to directly merge, using for example winmerge, your current files with the ones from the changed files package.
SeO
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 5527
Joined: Wed Mar 15, 2006 9:41 pm

Postby DaMick » Sun Jun 22, 2008 1:40 pm

thank you for the quick reply, but even with the dot, it doesn't seem to remember me. I even cleared my cookies to be 100%.
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Postby SeO » Sun Jun 22, 2008 4:30 pm

Clear phpbb's cache as well, just in case.

Dumb check, you did not actually used .example.com ?

It could come from a mod, hard to tell, especially when phpBB is not up to date.
SeO
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 5527
Joined: Wed Mar 15, 2006 9:41 pm

Postby DaMick » Sun Jun 22, 2008 5:55 pm

That didn't help. I'm going to upgrade the board and see what that gives. One small question, what about template updates? Since I use a custom template, like a lot of people I guess, how do we know what to update in our template files?

I'll keep you informed if the remember me features works again.
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Postby Professional » Mon Jun 23, 2008 2:37 pm

DaMick wrote:That didn't help. I'm going to upgrade the board and see what that gives. One small question, what about template updates? Since I use a custom template, like a lot of people I guess, how do we know what to update in our template files?

I'll keep you informed if the remember me features works again.


u need to do the changes at template files that after upgrading coudn't automatically update. :wink:
User avatar
Professional
PR3
PR3
 
Posts: 372
Joined: Mon Apr 07, 2008 5:41 am
Location: 1/2 of the World

Postby DaMick » Mon Jun 23, 2008 5:27 pm

ok, so I upgrade automatically and everything got updated nicely. The downside is, that the autologin feature still doesn't work.

I disabled all the mods on my board but still no luck. Could I misconfigured phpbb seo?
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Postby DaMick » Mon Jun 23, 2008 7:55 pm

I checked my cookies and as far as I know, they are all there:

bankshopper.be_u
bankshopper.be_k
bankshopper.be_sid
__utma
__utmb
__utmz
style_cookie

I have not clue whats wrong.
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Postby SeO » Mon Jun 23, 2008 11:48 pm

If you are using the www prefix, try adding it to your cookie domain :www.example.com
SeO
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 5527
Joined: Wed Mar 15, 2006 9:41 pm

Postby DaMick » Tue Jun 24, 2008 9:58 am

Still no luck, even with the www in front. This gives following cookies:

style_cookie: website: bankshopper.be
host: www.bankshopper.be

bankshopper.be_sid: website: bankshopper.be
domain: .www.bankshopper.be

bankshopper.be_k: website: bankshopper.be
domain: .www.bankshopper.be

bankshopper.be_u: website: bankshopper.be
domain: .www.bankshopper.be

__utma: website: bankshopper.be
domain: .bankhopper.be

__utmb: website: bankshopper.be
domain: .bankhopper.be

__utmc: website: bankshopper.be
domain: .bankhopper.be

__utmz: website: bankshopper.be
domain: .bankhopper.be

I'm getting a bit desperate :( , but thank you for the help
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Postby SeO » Wed Jun 25, 2008 8:03 am

I'm confused, did you actually used :".www.bankshopper.be" with a dot in front for the cookie domain ?

You should use :".bankshopper.be" or "www.bankshopper.be".
SeO
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 5527
Joined: Wed Mar 15, 2006 9:41 pm

Postby DaMick » Wed Jun 25, 2008 8:06 am

Hi,

for some reason my cookie automatically receives a . in front of the www
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Postby SeO » Wed Jun 25, 2008 8:10 am

hum, strange.

Have you tried with :

Code: Select all
bankshopper.be


without the dot in front ?
SeO
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 5527
Joined: Wed Mar 15, 2006 9:41 pm

Postby DaMick » Wed Jun 25, 2008 8:14 am

yes I have. I have used bankshopper.be (without the dot) in my backend.

So it gets automatically a dot in my cookies. But remember me still doesn't work. :(
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm

Postby DaMick » Wed Jun 25, 2008 8:17 am

Got it fixed. Cookie names can only have alphanumerics and underscores . So that was my problem, I had a dot. Stupid mistake.

But thank you for all your patience :)
DaMick
 
Posts: 21
Joined: Thu Apr 10, 2008 6:09 pm


Return to phpBB SEO Premod




Who is online

Users browsing this forum: No registered users and 8 guests