Re: [PHPLIB] problem with fallback mode From: Andreas Otto (andreas <email protected>)
Date: 02/15/00

thanks for your replies so far.

the problem is now :

using $sess->purl("$my_self").$sess->padd_query(array("name"=>"value"));
works fine in "get mode"
index.php3?mm4_Session=35af66514cd0f9a7b36ba02508165330&name=value

using the same code accepting cookies doesn't seem to work well since it
delivers
index.php3&name=value

where the "&" should be "?"

am i doing something wrong here or is it probably a bug?
according to a message posted on this list
(http://www.geocrawler.com/mail/msg.php3?msg_id=3269586&list=195) it seems to be
a bug. but so far noone replied to that posting. changing the code in
session.inc as explained in the posting seems to work.

i have read actually quite a lot of postings about this problem a lot of them
offered workarounds but i couldn't find a single posting where someone explained
how to use the code a way that it works both in get and cookie mode.

any ideas what could be done about this?

cheers,
andreas

--
Andreas Otto

NoHo Digital Ltd, Floor 2, Canberra House, 315 -317 Regent Street London W1R 7YB

Reception 0171 299 3434 Fax 0171 631 5050 http://www.noho.co.uk

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.