<%Response.ContentType...Error
Hello,
I've been trying to use a few ASP codes I found online about storing cookies on cell phones and everytime I either open it on my web browser or Openwave simulators, i have the following error...
"The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://students.ist.psu.edu/~lqc100/exam.asp'. Line 1, Position 2
<% Response.ContentType = "text/vnd.wap.wml" %>
-^"
This is the code...
"<% Response.ContentType = "text/vnd.wap.wml" %>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Session">
<p>
<%
Session("TimeLogon") = now
Response.Write "You are logged on at " & _
Session("TimeLogon")
%>
</p>
</card>
</wml>
"
Why is that? Thank you for any input.
~Lucy~
|