You are here: Re: Sessions and AOL « PHP Programming Language « IT news, forums, messages
Re: Sessions and AOL

Posted by peter on 02/21/07 00:55

>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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация