Apr 07, 2011 — 7 comments
In this web document four parameters name, value, expires and path parts sent to the function 'CookieSet'. The secure and domain parts are not essential here. Empty values set to expires and path parts and there is a checking for expires and path parts
When a browser opens a web page, the browser reads the cookies (provided it has already stored it) that has stored in your machine. We used document.cookie to retrieve the information about the cookie
The piece of code we will be writing, using the YUI library (my favorite), will allow users to increase/decrease their font size for a block of text, storing the font size in a cookie so that when they return to the page they don't have to modify the font size again.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?