Many a times people have asked me to help with Cookies management with Javascript.

Finally I decided to put together a tutorial and working example.

Cookies Tutorial

Please feel to reuse the code.