Cookies support from ASP.NET

  • Thread starter Thread starter Mat
  • Start date Start date
M

Mat

I blocked cookies from my Internet Explorer 6.
Then I used ASP.NET to create and retrieve a cookie and its value.
Well it worked.

I was doing this from Visual Studio 2005.

Later I will deploy my new site on a host server.

Maybe then it will work.

But it seems that even if you disable cookies from your browser, running
your site from Visual Studio will not react to cookies being blocked from
your browser.

Am I right? So the only way to detect if cookies ar blocked is from a
deployed ASP.NET?
 
if cookies are blocked, there is nothing asp.net can do about it. the only
way to test, is to set a cookie , do a redirect, and test if the cookie is
still set. standard sniffer page).

check that you blocked cookies in trusted zone (typical on dev box). a
cookie is just a header sent to the browser, which if enabled, the browser
will send on future requests.

-- bruce (sqlwork.com)
 
I reated a sniffer code but it does not work
even if cookies are blocked, from asp.net I still can create and read a
cookie.
 
Back
Top