1 / 10

Cookies....

Cookies. What they are... What they do.... Why we use them. Cookies are. A small amount of text A web site leaves on your computer So that it can recognize you When you come back to the same site.

snana
Download Presentation

Cookies....

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cookies.... • What they are... • What they do.... • Why we use them...

  2. Cookies are... • A small amount of text • A web site leaves on your computer • So that it can recognize you • When you come back to the same site. • Cookie contains personalized user data or information that is used to communicate between different web pages. • That’s about it… • But, there is more…

  3. Only one Site can read the cookie it left on your computer, this means that other sites cannot “steal” cookies left from that site. More About Cookies… • Cookies are not a virus. • Cookies are Just text. • Cookies are not Executable • And therefore cannot spread a virus

  4. How many cookies? • Limitations per site. • Maximum of 4K • Text only • Maximum of 20 cookies per domain. • This makes it difficult for any one site to use up all of your hard drive space.

  5. What is Inside a Cookie… • Cookies are stored as: • Name – Value Pairs, meaning a variable and a value assigned to it: Response.cookies(“variable”) = “value” • Cookies also contain (by default): • When it was sent (date) • Who sent it.

  6. How cookies are stored? • Lets take example of cookie written by rediff.com on Mozilla Firefox browser: • Site: Rediff.com Cookie name: RMIDName: RMID (Name of the cookie)Content: 1d11c8ec44bf49e0… (Encrypted content)Domain: .rediff.comPath: / (Any path after the domain name)Send For: Any type of connectionExpires: Thursday, December 31, 2020 11:59:59 PM

  7. Applications where cookies can be used.. • To implement shopping cart.. • Personalized Sites. • User tracking. • Marketing. • User session.

  8. Drawbacks of cookies.. • Cookies stored in the user's computer without their knowledge. • Too many cookies. • Security issue. • Sensitive information.

  9. Points to check for cookies (Test cases) • No personal or sensitive data is stored. • Data stored in encrypted format. • Disable cookie. • Accepts/ Reject some cookies. • Delete cookies. • Corrupt the cookie. • Checking the deletion of cookies from your web application page. • Cookie Testing on Multiple browsers. • Cookies to maintain the logging state of any user.

  10. The End of the Cookie Show…

More Related