On Thu, 24 Jun 2004 16:34:50 -0400, "Aaron [SQL Server MVP]"
<te*****@dnartr eb.noraa> wrote:
Nope. The script runs on a commercial host in Canada, not on my
intranet. All I wanted to do was "test" for cookies and I found that
this would just "take" the cookie regardless of the browser settings.
I guess it's taking the cookie because it IS displaying a string
value, although the privacy report (via the icon at the bottom of the
page) states it "blocked" cookies on pages.
Is global.asa on your own machine? Are you sure you set the block in that
zone?
--
http://www.aspfaq.com/
(Reverse address to reply.)
<ou***@ou812.c om> wrote in message
news:40******* ********@news.d allas.sbcglobal .net... Set IE 6.0 ver. X to "Block all Cookies" in privacy settings and try
this code in three separate files.
<-- Global.asa -->
sub Session_OnStart
response.cookie s("test") = "-1"
end sub
<-- Global.asa -->
<-- testcookie1.asp -->
<%Response.Redi rect("testcooki e2.asp")%>
<-- testcookie1.asp -->
<-- testcookie2.asp -->
<%=request.cook ies("test")%>
<-- testcookie2.asp -->
I get "-1" on testcookie2.asp
Anyone else get the same result?
Why am I getting the cookie in this test?