hi all,
ok i have created a site (click here to go to the site) whereby it has a login system in place. The login system uses sessions to determine weather the users is logged in or not when each page is loaded. It also uses these sessions to get information from the database about that user. My problem is this, the login work fines everywhere (and i mean everywhere) apart from my college. The problem is that when two users login at my college, they seem to swap over accounts when navigating through the site?????
Basically im just after any ideas of how this could b happening as each uses is given a session with a different number. (the number corresponds to which account it is).
Many Thanks,
J
Why does this login fail somtimes?
Started by welton122, Sep 30 2010 08:23 AM
4 replies to this topic
#1
Posted 30 September 2010 - 08:23 AM
|
|
|
#2
Posted 30 September 2010 - 09:04 AM
What keys do you use to find the right user? user id? ip? session id?
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 30 September 2010 - 09:49 AM
i use a userid which matches the one in the database (the session is given a userid which then corresponds to the one in the database. This is how each page knows what to display)
#4
Posted 30 September 2010 - 11:14 PM
And I assume that your friends login using different accounts when the pages mismatch as you described?
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#5
Posted 16 October 2010 - 10:07 PM
Could be a proxy tricking the server...
But it uses cookies so the proxy would have to be ethier cookie stealing or programmed so badly it mucks up who is who....
But it uses cookies so the proxy would have to be ethier cookie stealing or programmed so badly it mucks up who is who....
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).


Sign In
Create Account


Back to top









