Check Yes/No cookies enabled?

G

Guest

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
 
G

Guest

Does this solution also hold true for users whose browsers have cookies
enabled but have turned them off?
 
A

Aaron [SQL Server MVP]

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

Guest

I guess you are right...

...as usual! :)
Aaron said:
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?
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top