Check if cookies are enabled
问题 I am working on a page that requires javascript and sessions. I already have code to warn the user if javascript is disabled. Now, I want to handle the case where cookies are disabled, as the session id is stored in cookies. I have thought of just a couple ideas: Embedding the session id in the links and forms Warn the user they must enable cookies if they are disabled (would need help detecting if cookies are disabled) What is the best way to approach this? Thanks EDIT Based on the articles