Reasons for Using Cookies

Cookie

Cookies are small amounts of information that is stored by a Web browser. Cookies are used to store specific data from a user so that it can be accessed whenever the user frequents a Web page. The data or cookies are unique to that individual. Cookies can store your shopping cart, track your visits to Web sites, or assist with logging in. Cookies are accessed in JavaScript by using document. cookie property. Properties of cookies are: name=value (sets the cookies name and value), expires=date (optional, and sets the date the cookie expires), path=path (optional, points out a specified path that applies to the cookie), domain=domain (optional, acknowledges that only a particular Web site in the domain can retrieve the cookie) and finally, secure (optional, notifies that the browser should be using SSL when the cookie is sent to the server).

One last note is that only the server that initiated the cookie can retrieve it.

Are you using cookies in your Web sites?

Share on FacebookShare on Twitter
Pin it on PinterestShare on LinkedInShare on TumblrSubmit to StumbleUponhttp://blog.nugenerationwebdesign.com/wp-content/uploads/2011/11/images-18.jpgDigg ThisShare via email

Switch to our mobile site

Disclaimer