Re: What's wrong with the PHPSESSID?????

From: Date: Tue, 23 Apr 2002 20:47:34 +0000
Subject: Re: What's wrong with the PHPSESSID?????
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94264@lists.php.net to get a copy of this message
»Scott Fletcher« sagte am 2002-04-23 um 14:45:17 -0400 : > Hi! I have the PHPSESSID working on every web page except one and it baffle > me. Have anyone have this problem before? Anyone know of a way around the > problem? > > Here is what happen. On the HTML post, I use the Post String, > > -- clip -- > <form NAME="Inquiry_Form" > ACTION='network_option_transunion.php?<?=$SID?>&type=<?=$type?>' > METHOD="POST"> Well, either to a POST request *OR* a GET request, but don't mix them. Pass the session_name() as a normal POST var with a value of session_id(), like so: <input type="hidden" name="<?php echo session_name();?" value="<?php echo session_id();?>"> Same for type: <input type="hidden" name="type" value="<?php echo $type;?"> Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 15 hours 1 minute

« previous php.general (#94264) next »