(FIXED) Bug: Auto-login is broken

Website news, improvements and issues

(FIXED) Bug: Auto-login is broken

Postby Loki » Thu Dec 03, 2009 11:09 am

As reported by PCMD:
Setting for automatically logging on when visiting the website does not work. it does not remember when i check the box
PSKite Site Admin / Developer
Windhunter Android App Developer
User avatar
Loki
PSKite Magician
 
Posts: 2178
Joined: Sun Jul 05, 2009 12:20 pm
Location: Halfway between Mags and Jetty

Re: Auto-login is broken

Postby Robert » Thu Dec 03, 2009 2:11 pm

Weird, it always works for me.
User avatar
Robert
 
Posts: 1408
Joined: Fri Sep 21, 2007 8:15 pm
Location: Fremont

Re: Auto-login is broken

Postby Salmonslayer » Thu Dec 03, 2009 2:27 pm

You were not lurking around last night at 2 AM.

It works now
'08 Nemesis HP 10m, 12m, 14m
'12 Naish Parks 5m, 7m, 9m
'13 149 MTH Custom
'14 135 Brokite Hybrid
Jailbird Rashie by Neil Pryde
'13 Engine Harness
Q-Powerline
Carkeek Swim Team distance swim specialist
User avatar
Salmonslayer
Tacoma Fanboy
 
Posts: 2744
Joined: Sat Jun 20, 2009 12:07 am

Re: Auto-login is broken

Postby Loki » Thu Dec 03, 2009 3:35 pm

It does not, and has never worked for me. I'm not sure why.
PSKite Site Admin / Developer
Windhunter Android App Developer
User avatar
Loki
PSKite Magician
 
Posts: 2178
Joined: Sun Jul 05, 2009 12:20 pm
Location: Halfway between Mags and Jetty

Re: Auto-login is broken

Postby Robert » Thu Dec 03, 2009 4:34 pm

Every once in a while the cookie expires, and I have to re-login, but for the most part it always works. Must be some browser security setting that can block it.
User avatar
Robert
 
Posts: 1408
Joined: Fri Sep 21, 2007 8:15 pm
Location: Fremont

Re: Auto-login is broken

Postby Salmonslayer » Thu Dec 03, 2009 6:09 pm

yep, occasionally I do need to reset it, but, this was three attempts in the same evening.

Honest Robert.

dont make me post that dancing pic again
'08 Nemesis HP 10m, 12m, 14m
'12 Naish Parks 5m, 7m, 9m
'13 149 MTH Custom
'14 135 Brokite Hybrid
Jailbird Rashie by Neil Pryde
'13 Engine Harness
Q-Powerline
Carkeek Swim Team distance swim specialist
User avatar
Salmonslayer
Tacoma Fanboy
 
Posts: 2744
Joined: Sat Jun 20, 2009 12:07 am

Re: Auto-login is broken

Postby DanielStoner » Thu Dec 03, 2009 8:52 pm

When that happens to me (rarely) I go in, delete the cookie, and log in with the Remember Me setting checked. Try it.
- Member, Carkeek Swim Team
Sounder Nuketoberfest!!! 10/4/2008
DanielStoner
Former PSKite President
 
Posts: 2328
Joined: Wed Sep 19, 2007 9:29 am

Re: Bug: Auto-login is broken

Postby Loki » Sat Dec 05, 2009 2:24 pm

Cookies look right, but not working still.
PSKite Site Admin / Developer
Windhunter Android App Developer
User avatar
Loki
PSKite Magician
 
Posts: 2178
Joined: Sun Jul 05, 2009 12:20 pm
Location: Halfway between Mags and Jetty

Re: Bug: Auto-login is broken

Postby Loki » Mon Dec 07, 2009 6:16 pm

Ah ha!!! Figured it out. Man that was annoying. Cookies are bound to a specific address. If you access the site by a "parked" domain, the cookie was broken. I was accessing it by pskite.com, but the cookie was for pskite.org. Grrr.

We have 4 domain names:
pskite.com
pskite.org
pugetsoundkiteboarding.com
pugetsoundkiteboarding.org

But these also work:
www.pskite.com
www.pskite.org
www.pugetsoundkiteboarding.com
www.pugetsoundkiteboarding.org

I've changed the server's .htaccess file so all 8 redirect to:
http://pskite.org/

Fixed!
PSKite Site Admin / Developer
Windhunter Android App Developer
User avatar
Loki
PSKite Magician
 
Posts: 2178
Joined: Sun Jul 05, 2009 12:20 pm
Location: Halfway between Mags and Jetty

Re: (FIXED) Bug: Auto-login is broken

Postby theory » Tue Dec 08, 2009 9:59 am

Sahweet. This has always annoyed me!
Image

2016 Naish Park HD 10m
2016 Naish Pivot 12m & 8m
2015 Naish Dub w Ronix Parks
2015 Naish Skater 5'2

shop local!
User avatar
theory
Canada's Worst Nightmare
 
Posts: 1491
Joined: Fri Jul 10, 2009 3:52 pm
Location: Seattle

Next

Return to Website Development and News

Who is online

Users browsing this forum: No registered users and 1 guest