For whatever reason I cannot get my cookies to be persistent. Can someone tell me if it is in my code or something else?
<%@ Language=VBScript%>
<%Response.Buffer=true%>
<HTML>
<HEAD>
<TITLE>Test Paco</TITLE>
</HEAD>
<BODY>
<%
If Request.Cookies("paco" = "Cake" Then
greet = "Welcome Back To Pacos"
Else
greet = "Welcome To Pacos!"
Response.Cookies("paco"="Cake"
Response.Cookies("paco".Expires = (date()+7)
End If
Response.Write greet
%>
</BODY>
</HTML>
Any ideas you have are greatly appreciated.
Thanks.
<%@ Language=VBScript%>
<%Response.Buffer=true%>
<HTML>
<HEAD>
<TITLE>Test Paco</TITLE>
</HEAD>
<BODY>
<%
If Request.Cookies("paco" = "Cake" Then
greet = "Welcome Back To Pacos"
Else
greet = "Welcome To Pacos!"
Response.Cookies("paco"="Cake"
Response.Cookies("paco".Expires = (date()+7)
End If
Response.Write greet
%>
</BODY>
</HTML>
Any ideas you have are greatly appreciated.
Thanks.