471,872 Members | 1,331 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,872 software developers and data experts.

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 5488
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
NeoPa
reply views Thread by NeoPa | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.