On Thu, 24 Jun 2004 16:34:50 -0400, "Aaron [SQL Server MVP]"
<> 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.)
>
>
>
>
><> wrote in message
>news:. ..
>> 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.cookies("test") = "-1"
>> end sub
>> <-- Global.asa -->
>>
>> <-- testcookie1.asp -->
>> <%Response.Redirect("testcookie2.asp")%>
>> <-- testcookie1.asp -->
>>
>> <-- testcookie2.asp -->
>> <%=request.cookies("test")%>
>> <-- testcookie2.asp -->
>>
>> I get "-1" on testcookie2.asp
>>
>> Anyone else get the same result?
>> Why am I getting the cookie in this test?
>>
>>
>>
>
>