stackoverflow.com uses tags to show a special page if JavaScript is disabled. There's nothing equivalent for cookies that's built into the language. Your best bet is probably to take a look at this thread on how to detect whether cookies are disabled.