Ask a Question related to ASP.NET General, Design and Development.
-
Steve Johnson #1
IE6 and cookie check
I've set IE 6.0 (in Windows XP) to block all cookies, yet
Response.Browser.Cookies. still returns True. Additionally, attempts to
write cookies are successful.
Here's a code snippet. Does anyone see an error? Something I'm missing?
Steve
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim cookMyTest As New HttpCookie("Life is grand")
If Request.Browser.Cookies = True Then
lblCookie.Text = "Cookies accepted"
cookMyTest.Expires = DateTime.Now.AddDays(5)
Response.Cookies.Add(cookMyTest)
Else
lblCookie.Text = "Cookies not accepted"
End If
End Sub
Steve Johnson Guest
-
#39739 [NEW]: session_start() doesnt check if there is a duplicate cookie
From: cameron dot brunner at gmail dot com Operating system: Gentoo Linux PHP version: 5CVS-2006-12-05 (CVS) PHP Bug Type: ... -
#39739 [Com]: session_start() doesnt check if there is a duplicate cookie
ID: 39739 Comment by: gavin at vess dot com Reported By: cameron dot brunner at gmail dot com Status: Open Bug... -
HTTP::Cookie won't store sent cookie
Hi all, My script requests http://foo.bar.com/ with code that looks a little like this: my $ua = LWP::UserAgent->new; my $cookie_jar =... -
Cookies set one time, I delete cookie, cookie is never set again!
I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes,... -
authentication cookie vs session cookie
Hi, What are the differences between authentication and session cookies? In my web.config file, I set the cookieless attribute for the...



Reply With Quote

