Hi Ruslan,
I have tried to test it, but it does not work. When I put session_*
before the header, it will add html header in front of my php automatically.
So, my wml browser cannot access it. I have tried to replace default_mimetype
= "text/html" to default_mimetype = "text/wap.vnd.wml" a
Hello gary,
Try to put session_* functions before any output (echo, etc):
session_start();
session_register("temp");
header("Content-type: text/vnd.wap.wml");
echo ("\n");
echo ("http://www.wapforum.org/DTD/wml_1.1.xml\";>");
g> Hi all,
g> I am trying to use session in my wml. So, I
Hi all,
I am trying to use session in my wml. So, I add the following
statement in my php.
header("Content-type: text/vnd.wap.wml");
echo ("\n");
echo ("http://www.wapforum.org/DTD/wml_1.1.xml\";>");
session_start();
session_register("temp");
But it's not sucessful and I get the following