469,338 Members | 8,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,338 developers. It's quick & easy.

Check Yes/No cookies enabled?

It is possible to check via ASP whether cookies are enabled for a person's
web browser and based on this check send him to another page which does not
support cookies (ie login?)?

Thanks
Jason
Jul 19 '05 #1
7 5422
http://www.aspfaq.com/2058

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:#0**************@TK2MSFTNGP09.phx.gbl...
It is possible to check via ASP whether cookies are enabled for a person's
web browser and based on this check send him to another page which does not support cookies (ie login?)?

Thanks
Jason

Jul 19 '05 #2
yes, just write one, redirect to another page, read it. If it's not there
they dont accept them. Just make sure not to write and read on the same
page...or you wont get an accurate result.
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
<ja***@catamaranco.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It is possible to check via ASP whether cookies are enabled for a person's
web browser and based on this check send him to another page which does not support cookies (ie login?)?

Thanks
Jason

Jul 19 '05 #3
This seems similiar to this article which points out it the process could be
ruined by caching and the fact that it uses up server resources:

http://www.asp101.com/articles/john/...ct/default.asp

Would you advise using this approach to allow user to bypass login screen if
he is present in database?

"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uD**************@TK2MSFTNGP09.phx.gbl...
yes, just write one, redirect to another page, read it. If it's not there
they dont accept them. Just make sure not to write and read on the same
page...or you wont get an accurate result.
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
<ja***@catamaranco.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It is possible to check via ASP whether cookies are enabled for a person's web browser and based on this check send him to another page which does

not
support cookies (ie login?)?

Thanks
Jason


Jul 19 '05 #4
wrote on 05 aug 2004 in microsoft.public.inetserver.asp.general:
It is possible to check via ASP whether cookies are enabled for a
person's web browser and based on this check send him to another page
which does not support cookies (ie login?)?


<http://www.google.com/search?num=100&q=ASP+whether+cookies+are+enabled>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #5
Does this solution also hold true for users whose browsers have cookies
enabled but have turned them off?

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl...
http://www.aspfaq.com/2058

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:#0**************@TK2MSFTNGP09.phx.gbl...
It is possible to check via ASP whether cookies are enabled for a person's web browser and based on this check send him to another page which does

not
support cookies (ie login?)?

Thanks
Jason


Jul 19 '05 #6
Yes. It would probably take you all of 45 seconds to verify that for
yourself, though... ;-)

Remember, it is not checking a setting, it is setting a cookie and then
trying to read it! Whether they have a browser that doesn't support
cookies, or it does but they turned them off, the result will be the same,
no?

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
Does this solution also hold true for users whose browsers have cookies
enabled but have turned them off?

Jul 19 '05 #7
I guess you are right...

...as usual! :)
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Yes. It would probably take you all of 45 seconds to verify that for
yourself, though... ;-)

Remember, it is not checking a setting, it is setting a cookie and then
trying to read it! Whether they have a browser that doesn't support
cookies, or it does but they turned them off, the result will be the same,
no?

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
Does this solution also hold true for users whose browsers have cookies
enabled but have turned them off?


Jul 19 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ana | last post: by
11 posts views Thread by Jennifer | last post: by
reply views Thread by Sri | last post: by
reply views Thread by dawson | last post: by
2 posts views Thread by Chris Davoli | last post: by
reply views Thread by pritaeas | last post: by
3 posts views Thread by =?Utf-8?B?Qkw=?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.