RE: [PHP] Session problem

From: Date: Tue, 11 Jul 2000 18:27:54 +0000
Subject: RE: [PHP] Session problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5973@lists.php.net to get a copy of this message
I do not get the same results you do. It creates a session and keeps it no matter how many times I push the login button. Sounds like the problem is with your browser, not your code. Greg > -----Original Message----- > From: Thomas Deliduka [mailto:thomas@neweve.com] > Sent: Tuesday, July 11, 2000 1:17 PM > To: PHP List > Subject: Re: [PHP] Session problem > > > The problem is in the earlier posts previously posted. The URL I > list there > demonstrates a problem where if you continually click on the login button > for the site a new session will be created each time. I cannot get it to > carry over the session from one submission to the next. Thus, when I move > from page to page in my site, the session is also recreated each time. > > I found it interesting that on 7/11/00 2:08 PM Greg Donald said: > > > What's the problem? I read your post but don't see a question. > > > > > > > >> -----Original Message----- > >> From: Thomas Deliduka [mailto:thomas@neweve.com] > >> Sent: Tuesday, July 11, 2000 1:04 PM > >> To: PHP List > >> Subject: Re: [PHP] Session problem > >> > >> > >> Perhaps I'm not giving enough time for a response, but this is > what always > >> seems to happen here on this list as regards to this problem. I post > >> something someone makes a statement back, I do what they > suggest and show > >> the problem still exists and then no reply at all. > >> > >> Is it merely because nobody knows what to do? I'm sure that's > probably it, > >> It CAN'T be that everyone just wants me to be sitting in agony while my > >> development site is stagnant! > >> > >> Well, it's not quite stagnant, I implemented a completely > different way of > >> logging in without the use of sessions, I had to move forward with my > >> project. > >> > >> I found it interesting that on 7/11/00 10:49 AM Thomas Deliduka said: > >> > >>> I found it interesting that on 7/11/00 9:56 AM Daniel Gustafsson said: > >>> > >>>> The session id is meant to be passed via the url or a cookie. > >>>> > >>>> try setting action='login.phtml<?=SID?>', note that SID is a > macro, and > >>>> will be empty if the SID is passed via a cookie. Either way it > >> should work > >>>> if you pass it this way. > >>> > >>> I updated it as you said and I find the same result: > >>> > >>> http://216.235.251.8/login.phtml > >>> > >>> I did submit it several times and after, I think, the 5th time > >> it actually > >>> took hold and was working. But then again, I went into the > >> properties of my > >>> netscape and I told it to warn me when a cookie is being set. Then > >>> immediately after that the session stayed the same throughout > each post. > >>> > >>> I reset it back... then I posted again and it prompted me to > >> set a cookie, I > >>> accepted it. then the SID was populated. So, the cookie IS > >> being set yet the > >>> SID macro is being set also, as you can see in this example. > Unless it > >>> doesn't do it on your browser. > >>> > >>>> It's all in the docs, read them. *grumpy face* =) > >>> > >>> I've read the docs 1,000 times, it is not working for me. I > >> don't use the > >>> SID macro anywhere, I merely echo it to the screen for > >> debugging purposes. > > -- > > Thomas Deliduka > IT Manager > ------------------------- > New Eve Media > The Solution To Your Internet Angst > http://www.neweve.com/ > > > > -- > 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 (#5973) next »