As the cookie variables are stored in the client machine, it can be obtainable till it gets deleted either by browser setting, or by the code or by the user by hand. Since cookie variables can live even after closing the browser session, it can be useful for improving user experience. (i-e) Lot of knowledge related to user preferences can be stored in the cookie. |