Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookies with IE / Netscape

Status
Not open for further replies.

jlong9

Programmer
Oct 17, 2003
4
US
I am basically checking to make sure the browser can accept cookies with this. My first page creates the cookie:

response.cookies("useCookies") = "Yes"

From that page, I have a link to go to another page that will check to see if useCookies has a value:

blnAcceptCookies = request.cookies("useCookies")
if blnAcceptCookies = "" Then
' Code message to user that they don't accept cookies
End If

When I run this in Netscape 7 (Windows), it works exactly how I want it to work (when I have cookies disabled). However, when I try to run it in IE 6 (Windows) with cookie's disabled, its like it always accepts the cookie even though I have set the highest privacy level and overroad the cookie handling to block all cookies. I have also double-checked in my docs & settings in my user cookie folder and have made sure there wasn't a trailing cookie out there from when I tested it with the cookies enabled.

Is there something I'm doing wrong with the cookie? I'd like to try and stay away from JavaScript if possible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top