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 ("<?xml version=\"1.0\" ?>\n");
echo ("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\";>");
session_start();
session_register("temp");
 But it's not sucessful and I get the following error message. Should I
set some parameter to use session in wml format? Can anyone help me?
Thanks!

<b>Warning</b>:  Cannot send session cookie - headers already sent by
(output started at c:\inetpub\wwwroot\dinol\index.php:3) in
<b>c:\inetpub\wwwroot\dinol\index.php</b> on line <b>6</b><br>
<br>
<b>Warning</b>:  Cannot send session cache limiter - headers already
sent (output started at c:\inetpub\wwwroot\dinol\index.php:3) in
<b>c:\inetpub\wwwroot\dinol\index.php</b> on line <b>6</b><br>


Gary


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to