Hi,
I am trying to develop some dynamic content for WAP.
As you may already know WML is an XML based language.
Since Mobile phones and most other WAP devices do not support cookies, session handling with PHP has to be done via the SID in the URL. Here is the problem I am having:
When I use this method of session management, PHP automatically appends all of my URLs with “&PHPSESSID=%sessID%. Under normal circumstance this would be fine, but since WML does not allow the “&” character….This is bad, and makes all of my links unusable.
For example:
My links as the WAP device sees them are generated to look like this:
<a href="my.php4?module=home&sub=link">Home</a>
But when try to go about this using session management, my URL gets sent like this:
<a href="my.php4?module=home&sub=link&PHPSESSID=%sessID%">Home</a>
I thought that maybe I could cheat this and just open the PHP.ini file on my server and change the session name to “amp;PHPSESSID” but since it’s an ini file the “;” character blocks the rest of the name out on the right, and the session name becomes “&”….
HELP PLEASE!
jr