Title: PHP & Sessions / Cookies Post by: Daniel Franklin on September 26, 2007, 12:01:43 PM This makes sessions very safe and secure. However, cookies can save website preferences for a year, far longer than sessions. And cookies are stored on the user's computer, whereas sessions reside on the server.
Giving users the option to choose which one they want to use can be helpful if their browser doesn't support one or the other. And with the simplicity of PHP, using either of these simultaneously on your website should be seamless to endusers. Articles Source - Free Articles |