Are cookies enabled?

JavaScript FAQ | JavaScript Cookies FAQ  

Question: How do I test whether cookies are enabled in the user's browser?

Answer: To test whether cookies are enabled, you can set a non-empty cookie and then retrieve it.

A script on this page tests the cookies support using the functions SetCookie and ReadCookie. Here's the result:

 

Copyright © 1999-2011, JavaScripter.net.