Cookies - Graceful way to tell the user?

Instead of the message just showing up top (in Firefox), is there a test I can do in code, and gracefully land someone on a page or view and explain what to do?