RE: [PHP] Sessions & WAP
| From: | Jon Haworth | Date: | Wed, 07 Nov 2001 13:55:06 +0000 |
| Subject: | RE: [PHP] Sessions & WAP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73735@lists.php.net to get a copy of this message | ||
You can change the separator for arguments in your php.ini file.
It's a good idea to use & instead of & for all pages, HTML and WML, as
you may have validation problems otherwise.
Cheers
Jon
-----Original Message-----
From: David Otton [mailto:david.otton@overnetdata.com]
Sent: 07 November 2001 13:35
To: php-general@lists.php.net
Subject: [PHP] Sessions & WAP
Hi, small simple problem :
WAP doesn't support cookies (some gateways may, but not many), so I'm
passing session parameters on the URL.
WML URLs are encoded slightly differently to straight HTML :
http://server/script.php?a=b&c=d
(note the '&' instead of '&')
So, how do I persuade the session functions to send
href="/index.php?a=3&PHPSESSID=864bd62f421bce25b2be67555119a294"
instead of
href="/index.php?a=3&PHPSESSID=864bd62f421bce25b2be67555119a294"
?
(Oh, and is there any way to make session ids shorter?)
TIA,
djo
**********************************************************************
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or confidentiality'
**********************************************************************