Cookies support from ASP.NET

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?
 
B

bruce barker \(sqlwork.com\)

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)
 
M

Mat

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top