PDA

View Full Version : Double Login


Loco.M
03-27-2006, 04:27 AM
I still have this problem,,
I can login, but say, I look at the gallery, then the forum, then back at the gallery, I'll have to login a 2nd time..

http://locoforum.com/photoplog/

test - test

user - pass

if u want to test it out.

nice looking product, there is a good chance I'll get the pro ;)

Morgan
03-29-2006, 02:18 PM
This is a www versus no www issue related to cookies. If you are asked to log in a second time, try changing the link in the browser address bar to have, or not have, the www bit, and you should then be logged in okay.

One thing to do is change the relative gallery link under Site Goodies from href='/photoplog' to href='/photoplog/' because, if you go to http://locoforum.com/photoplog, the link changes to http://www.locoforum.com/photoplog/ and you appear logged out. Adding the ending slash to the gallery link should prevent that transformation.

Another thing to do is set an htaccess file to force the use, or non-use, of the www bit in links. Here are a couple of examples, the former being tested.
Content visible to registered users only.
Content visible to registered users only.

Luciano
04-07-2006, 04:22 PM
wouldn't it be easier to change the cookie path? from www.yoursite.com to .yoursite.com (not forgetting the first dot) ?

Morgan
04-08-2006, 07:50 PM
That's a good suggestion too, especially for people who use subdomains for different sections of their site.