about wml and session

From: Date: Tue, 10 Jul 2001 08:12:54 +0000
Subject: about wml and session
Groups: php.windows 
Request: Send a blank email to php-windows+get-8216@lists.php.net to get a copy of this message
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

« previous php.windows (#8216) next »