Hello,
I've run into some webspeed cookie problems. Where the heck does webspeed place cookies?
If I have webspeed file (program) set a cookie, it will work fine detecting or setting cookies as long as I do it with a webspeed file.
If I try and get that cookie and read it from any other file (a page with javascript that IS NOT a webspeed file, or in this case, an ASP file with vbscript to detect the cookie that is set by a webspeed file it doesnt seem to be able to find it.
I've tested this several times with webspeed, setting a cookie and I notice I never see it in my temp internet directory. If I do this with javascript or vbscript it does this. Where the heck is webspeed putting these cookies.
Here's what I have:
In my webspeed file, I am setting the cookie in a function using document.write.
document.cookie="mycookie=`mycookie`" + "; path = /";
This does set a cookie and works when I do a get to retrieve it, but ONLY with a webspeed file.
In my ASP page with vbscript, I just need to get (find) that cookie.
I am doing it this way:
<%@LANGUAGE="VBSCRIPT"%>
<%
If Request.Cookies("mycookie") = "" Then
Response.Redirect("http://www.redirectpage.htm")
End If
%>
Is the path I'm setting in the webspeed file (the document.write) correct to set this file to the users internet temp directory?
I've run into some webspeed cookie problems. Where the heck does webspeed place cookies?
If I have webspeed file (program) set a cookie, it will work fine detecting or setting cookies as long as I do it with a webspeed file.
If I try and get that cookie and read it from any other file (a page with javascript that IS NOT a webspeed file, or in this case, an ASP file with vbscript to detect the cookie that is set by a webspeed file it doesnt seem to be able to find it.
I've tested this several times with webspeed, setting a cookie and I notice I never see it in my temp internet directory. If I do this with javascript or vbscript it does this. Where the heck is webspeed putting these cookies.
Here's what I have:
In my webspeed file, I am setting the cookie in a function using document.write.
document.cookie="mycookie=`mycookie`" + "; path = /";
This does set a cookie and works when I do a get to retrieve it, but ONLY with a webspeed file.
In my ASP page with vbscript, I just need to get (find) that cookie.
I am doing it this way:
<%@LANGUAGE="VBSCRIPT"%>
<%
If Request.Cookies("mycookie") = "" Then
Response.Redirect("http://www.redirectpage.htm")
End If
%>
Is the path I'm setting in the webspeed file (the document.write) correct to set this file to the users internet temp directory?