Login problem with ladder

I've been testing the squash ladder software for use at our club, however, I have noticed a problem with logging on to the system.

Each time a new session is started the user needs to login twice before the system correctly sets the session information. The first time they attempt to log in the are correctly redirected to the admin screen, however, the red notice at the top of the screen still indicates that they are not logged in. Confusing since you're only redirected to the admin screen from the login screen if you correctly entered your login information.

After the second login attempt the session information is updated correctly and their name appears at the top of the admin screen.

Has anyone seen this behaviour or have a correction for this?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Login problem with ladder

I've been testing the squash ladder software for use at our club, however, I have noticed a problem with logging on to the system.

Each time a new session is started the user needs to login twice before the system correctly sets the session information. The first time they attempt to log in the are correctly redirected to the admin screen, however, the red notice at the top of the screen still indicates that they are not logged in. Confusing since you're only redirected to the admin screen from the login screen if you correctly entered your login information.

After the second login attempt the session information is updated correctly and their name appears at the top of the admin screen.

Has anyone seen this behaviour or have a correction for this?

Nick

We've seen similar behaviour, and Matt had a look at it I think. However I am unaware of any fixes / workarounds..

Fred

Login problem with ladder

That's correct but although I had seen this behaviour many months ago I was unable to reproduce it more recently and unable to track down the cause of the problem. Is it still an issue ?

Login problem with ladder

Yes, still an issue. It's occurs 100% of the time on my system. What do you need from my end in terms of assistance to track down this problem?

Login problem with ladder

I see this problem as well.

I can recreate the problem but I'm having trouble tracking down the cause.

Login problem with ladder

I have been investigating this issue. Could I please ask anyone having this issue to please post:

Browser Name and version
Hosted ladder or your own
What firewall are you behind?

Thanks,

Matt

Is this just admins?

Can anyone confirm whether this is happening for normal players or is it just admins? I can't check this since I can't reproduce the error myself. Could someone log off and close broswer then register as a normal player and test the logging in as a normal player? Thanks.

Problem solved?

I hope this problem is finally resolved. I need people to test this out on the hosted ladders please. Matt

One way to reproduce this problem

You can reproduce this problem as follows:

1. set the domain root as follows in connect.php:
$root="http://ladder.austinracquetball.com/";

2. enter an address that is different to login such as:
http://ladder.teamritchie.com

This will cause you to authenticate 2x. At least for the admin account I test with.

Fix: enter the same address in the browser that you have set in connect.php

Exactly right. It's a

Exactly right. It's a problem of cross domain session management. My hosted ladders go through about 2 or 3 layers of virtual hosting so I find it a nightmare. I have managed to establish a particular .htaccess fix for my system but I'm not sufficiently knowledgeable to suggest how to fix it more generically.

Login problem with ladder

I have found the same problem with my club ladder. Players get frustrated they can't login at first try.

My suggestion, if possible, is to put the assigned ladder domain in the emails to the users instead of the generic "squash-ladder.net" that way, when the user clicks on a link from his/her email, the url will be the right one and no need to redirect.

Thanks for all your work!

phuser

Finally (!) the ladder emails

Finally (!) the ladder emails should contain the correct domain details for the ladder. The ladder domain can be selected from the admin page. I hope this will cause far fewer cases of the dreaded double login.