"Michael R. Wayne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, May 21, 2004 at 08:04:00PM +0200, Torsten Roehr wrote: > > > > As far as I remember session.use_trans_sid does NOT work with forms (action > > attribute). Have you tried appending it manually to the action?: > > Well, this certainly seems to be progress in the correct direction. > So session.use_trans_sid used to work with forms in 4.1.2 (I'm > suffering from an upgrade here) but no longer does? This really > helps. > > > <form method="post" action="xxx.php<?= SID; ?>"> > > This ALMOST works. Looks like a seperator is needed. I get: > "POST /xxx.phpPHPSESSID=3a2c0413ec84a00e36ea0317c193ccb2 HTTP/1.1" > > Do I want ?=PHPSESSID=<sessionID> or just ?=<sessionID> or what?
Sorry, I'm an idiot! The ? was missing: <form method="post" action="xxx.php?<?= SID; ?>"> This should work. As far as I have seen trans_sid is not used very often - obviously because of problems like yours. The best way is always to pass the session ID yourself. Either with a cookie or via GET. I prefer GET because with cookies you are reliant on the client supporting/allowing cookies. Regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php