Re: Login script, session problem (I think)

From: Date: Tue, 15 Jan 2002 16:50:32 +0000
Subject: Re: Login script, session problem (I think)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80581@lists.php.net to get a copy of this message
More information is needed... what version of PHP are your running? I bit of sample code on how you set up your sessions would also be helpful... /dkm ----- Original Message ----- From: "Hawk" <hwk@barrysworld.com> To: <php-general@lists.php.net> Sent: Tuesday, January 15, 2002 11:19 AM Subject: [PHP] Login script, session problem (I think) > I made a simple login script which uses MySQL for username and password > retrieval and that stores the username in a session, the problem is that > this script only works locally, e.g. I can only login from this computer but > not from any other, I have session.use_cookies = 1 and I also have another > session on the page that stores a counted var so the counter doesn't jump up > everytime someone changes page. > The thing confusing me is that the counter session works global but the > login only works local.. > > Does anyone have an idea how I should solve this? I'm not so good with php > yet so I might have missed something, but i think it's wierd anyway... :p > > please reply as soon as possible. :) > > Hawk > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#80581) next »