Re: POST & SID
| From: | Justin French | Date: | Tue, 20 Aug 2002 15:24:13 +0000 |
| Subject: | Re: POST & SID | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113346@lists.php.net to get a copy of this message | ||
When you say "it does not work", are you trying to POST the SID, or
continuing to pass it around in the URL *whilst* posting a form.
This SHOULD work:
<FORM action="blah.php?<?=SID?>" method="post">
<INPUT type="text" value="blah" size="20"
name="test">
<INPUT type="submit" value="submit" name="submit">
</FORM>
blah.php should recognise the session.
Justin French
on 20/08/02 2:29 PM, simanhew (simanhew@yahoo.com) wrote:
> hi all,
>
> I have a question regarding POST and SID:
> I am trying to make a no-cookies browser work with session_id, according to
> some tutorial, using <?=SID?> in URL is one choice. I tried that and it
> worked if it is only a hyperlink, but it DOES NOT work when I use POST.
>
> Any one has experience in this ?
>
> Thanks in advance,
>
> siman
>
>