Probably such a simple problem
-
Marla
Hello, I am pretty new to asp (and not using .net) and am having a problem with cookies. We have a lot of applications that use this code, I've just been cutting and pasting but now have a problem.
I have one page creating a cookie and displaying the value and it works fine. I've verified the creation of the cookie.
<%@ LANGUAGE="VBSCRIPT" %>
<% Response.Buffer = True %><%
Response.Cookies("SMARTSRegionID")("RegionID") = "0"
Response.Cookies("SMARTSRegionID").Expires = Now() + 360 '24 hours
Response.Cookies("SMARTSRegionID").Path = "/Smarts"
Response.Write "*** "& Request.Cookies("SmartsRegionID")("RegionID")& " ***"
%>But my page to read the cookie is showing NULL (or blank). See code below. Is this a setting in my project? A stupid mistake? Thanks for the help.
<%@ LANGUAGE="VBSCRIPT" %>
<% Response.Buffer = True %><%
Response.Write "-- "&Request.Cookies("SMARTSRegionID")("RegionID")&" --"
%>Posted: 2004-05-20 23:11:47.145694 #