Hi,
In test1.asp, I set a cookies something like
<%
Response.Cookies("username")="mmmm"
url = Request.ServerVariables("URL")
n = instrrev(url, "/")
url = " & Request.ServerVariables("SERVER_NAME") & left(url, n) & "test2.asp"
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "get", url, true
xml.Send
Set xml = Nothing
%>
In test2.asp, I tried to get the cookies without success:
<%
username=request.Cookies("username")
Set fso = Server.CreateObject("Scripting.FileSystemObject")
outFilePath = Server.MapPath("test.txt")
Set textS = fspenTextFile(outFilePath, 2)
textS.Write("username=" & username)
textS.Close()
Set textS = Nothing
Set fso = Nothing
%>
That is, in the file test.txt I only got "username=" without "mmmm"
Is this a bug or something wrong I did?
Thank you in advance.
In test1.asp, I set a cookies something like
<%
Response.Cookies("username")="mmmm"
url = Request.ServerVariables("URL")
n = instrrev(url, "/")
url = " & Request.ServerVariables("SERVER_NAME") & left(url, n) & "test2.asp"
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "get", url, true
xml.Send
Set xml = Nothing
%>
In test2.asp, I tried to get the cookies without success:
<%
username=request.Cookies("username")
Set fso = Server.CreateObject("Scripting.FileSystemObject")
outFilePath = Server.MapPath("test.txt")
Set textS = fspenTextFile(outFilePath, 2)
textS.Write("username=" & username)
textS.Close()
Set textS = Nothing
Set fso = Nothing
%>
That is, in the file test.txt I only got "username=" without "mmmm"
Is this a bug or something wrong I did?
Thank you in advance.