RE: [PHP4BETA] Bug in trans-sid?
| From: | php4-peter at knowpost dot com | Date: | Tue, 11 Jan 2000 02:13:25 +0000 |
| Subject: | RE: [PHP4BETA] Bug in trans-sid? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9026@lists.php.net to get a copy of this message | ||
Interestingly it does put the sid in the method, however there must be
something about the get protocol that I don't know about, because IE and
Netscape remove that part of the URL when they perform the get.
Therefore, you're suggested fix doesn't work, you have to do something
like this:
<INPUT TYPE=hidden name=sid value=" . session_id(). ">
in order for it to work.
This is for GET forms only though!
Peter
On Mon, 10 Jan 2000, Cristopher Daniluk wrote:
> It won't rewrite the form action url, onlt hrefs. trans-sid isn't fullproof,
> it's only meant to ease *some* sanity issues :)
>
> Just put in <?=SID?> in your form actions and you should be okay..
>
> -----Original Message-----
> From: php4-peter@knowpost.com [mailto:php4-peter@knowpost.com]
> Sent: Monday, January 10, 2000 3:56 PM
> To: php4beta@lists.php.net
> Subject: [PHP4BETA] Bug in trans-sid?
>
>
> I've got some inconsistent behavior, but it might be because of the web
> browser. I'm using transparent session handling (great job everybody!).
> However, I did notice one problem. If you use the GET method in forms
> while denying cookies, the session is lost.
>
> I'm using Netscape 4.7 on Linux. Anybody know what's going on here?
>
> --------------------------------------------------
> Peter D. Kovacs KnowPost.com LLC
> Pb Engineer peter@knowpost.com
> --------------------------------------------------
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
>
--------------------------------------------------
Peter D. Kovacs KnowPost.com LLC
Pb Engineer peter@knowpost.com
--------------------------------------------------