|
Posted by Mike on 02/20/07 17:00
On 21 Feb, 00:55, "peter" <sub...@flexiwebhost.com> wrote:
> >I have a site where users register and log in. All the data is stored
> > in a MySQL database.
>
> > When a user logs in, the username and password is checked in the
> > database and if all ok I set a few sessions. Then at the top of each
> > page I simply check that the sessions have been set and carry on.
>
> > All this works fine except for users on AOL. They log in but straight
> > away are told that they need to log in.
>
> Not having examined your code properly nor knowing what is in the included
> files do you by any chance check if someone is who they are meant to be by
> checking their ip from 1 page to another? If so it could be the cause of
> your problem, an AOL user could effectively have a different ip number after
> every page load due to the way AOL works.
All the test files are displayed above including the include file.
No I do not use IP address in any way to track. Please see my test
code in my original post.
Navigation:
[Reply to this message]
|