how to check if the user disable javascript in his browser? For example: in stackoverflow, a red warning div will show up at the top if you disable the javascript in firefox? How to achieve this?
One more thing I noticed: if you disable cookies, stackoverflow doesn't work. It won't let you login when you click the login button. Actually, that's what I assume with my website as well, the user login/session data depends on cookies, UI layout etc.. depends on javascript.
Here I don't want to discuss about the design principle(progressive enhancement etc..), could anyone tell me a good way to check if cookies, javascript are enabled or not? I think it has to be done on server side, right?
Thank you