Re: Reliability of sessions

From: Date: Thu, 04 Apr 2002 22:27:16 +0000
Subject: Re: Reliability of sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91627@lists.php.net to get a copy of this message
I use them because 'sid' isn't always populated and, who knows, some browser may not handle cookies right and then lose a session. I do it to make sure, to be absolutely sure that it will work. On 4/4/02 5:19 PM this was written: > If you made your link like this: <a href="filename.php?<?=sid?>"> it > tacks > on the name plus the session id. If cookies are enabled you will only see > the session id passed through the url on the first page.. After that you > wont, thus the little script I wrote so the '?' doesn¹t show up. Now if > cookies arent enabled you will see the session name and id passed through > the url every single time. There is absolutely no reason to use those > functions since php takes care of that stuff for you. -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#91627) next »