Re: Session Issues when Cookies are Disabled

From: Date: Thu, 12 Dec 2002 21:19:04 +0000
Subject: Re: Session Issues when Cookies are Disabled
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128079@lists.php.net to get a copy of this message
You could put it in yourself action="somepage.php<?=sid?>" or my preference is stick the session as a hidden field <input type="hidden" name="PHPSESSID" value=<?=sid?> /> Cheers! Rick "Finish each day and be done with it. You have done what you could; some blunders and absurdities have crept in; forget them as soon as you can. Tomorrow is a new day; you shall begin it serenely and with too high a spirit to be encumbered with your old nonsense." - Ralph Waldo Emerson > From: "charlie collins" <charlie@screaming-penguin.com> > Reply-To: charlie@screaming-penguin.com > Date: Thu, 12 Dec 2002 16:29:12 -0500 (EST) > To: <php-general@lists.php.net> > Subject: [PHP] Session Issues when Cookies are Disabled > > > I have an issue with PHP when Cookies are not enabled on the client. I am > using 4.2.x (have tried on various versions) and enable-trans-sid is ON. > > The problem is that the automatic url encoding that enable-trans-sid > performs works great for anchor tags (links) but it does NOT WORK for POST > forms. Any time a POST form is submitted the PHPSESSID is lost. When > viewing the source of pages on a PHP site that uses sessions all the of > the anchor tags correctly have the GET variable PHPSESSID which is > populated. After submitting a POST form this value is no longer on the > URL at all, gonzo. > > Surely someone else has run into this and more than likely its just a > usage or configuration problem that relates to my lack of understanding. > Any help is greatly appreciated. > > > > -- > charlie collins > screaming-penguin.com > 'source does matter' > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#128079) next »