Hi
Normally MMIT returns the appropriate file type for the
respective Browsers from which the request has been
initiated. So no problem, if u r working with MMIT.
But if you want to an aspx file to return a WML file,
Then you will have to follow thiss....
'' WML Code starts here..
<%@ Page Language=VB%>
<%
response.ContentType="text/vnd.wap.wml" ' content type
response.write("<?xml version=""1.0"" encoding=""ISO-8859-1""?>")
Dim mstrReturnMesssage as String
Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs)
mstrReturnMesssage = request.QueryString("ret")
End Sub
%>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="ReturnMessage">
<p>
<%=mstrReturnMesssage%>
</p>
</card>
</wml>
'' WML code Ends here
This works fantastically.
Cordially
Vijooo
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!