For Programmers: Free Programming Magazines  


Home > Archive > ASP > July 2004 > How to detect Cookie is enabled or disabled?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to detect Cookie is enabled or disabled?
Jessie

2004-07-28, 3:55 pm

I found some example on web, but most of them are need 2 pages by using
redirect method. Is there code for do this only in one page? Thank you!
Manohar Kamath [MVP]

2004-07-28, 3:55 pm

The concept will still be the same with one page -- you set a cookie the
first time it loads, and you redirect to the same page (with extra
parameter) and check if the cookie is set.

Since there is a disconnect between the server and the browser, I do not see
any other way.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com


"Jessie" <jessiehahaha@ywzc.net> wrote in message
news:Xns9534982C0CAC8allywzcnet@207.46.248.16...
> I found some example on web, but most of them are need 2 pages by using
> redirect method. Is there code for do this only in one page? Thank you!



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com