Re: session OR variables

From: Date: Mon, 11 Mar 2002 21:27:36 +0000
Subject: Re: session OR variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88095@lists.php.net to get a copy of this message
On Mon, 11 Mar 2002, Vlad Kulchitski wrote: > The question is how reliable the session is? In other words > I understand session works based on cookies right? So if the client > browser has cookies disabled the session is not going to work > right? Not per se, cookies is one way of using sessions. The other way is to use the special var SID (without the $ sign, so a constant in a way) like this (from the manual): To continue, <A HREF="nextpage.php?<?=SID?>">click here</A> And concerning the reliability, if you store data in a session a user can't fiddle with the values as easily as when you would save your data the url. Jan > > Vlad > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#88095) next »