Resources » .NET programming » ASP.NET/Web Applications

Where and How cookies are stored?


Posted Date: 07-Apr-2009  Last Updated:   Category: ASP.NET/Web Applications    
Author: Member Level: Silver    Points: 8



Where cookies are stored?


When any web page application writes cookie it get saved in a text file on user hard disk drive. The path where the cookies get stored depends on the browser. Different browsers store cookie in different paths. E.g. Internet explorer store cookies on path “C:\Documents and Settings\Default User\Cookies”
Here the “Default User” can be replaced by the current user you logged in as. Like “Administrator”, or user name like “Vijay” etc.
The cookie path can be easily found by navigating through the browser options. In Mozilla Firefox browser you can even see the cookies in browser options itself. Open the Mozila browser, click on Tools->Options->Privacy and then “Show cookies” button.

How cookies are stored?


Lets take example of cookie written by dotnetspider.com on Mozilla Firefox browser:
On Mozilla Firefox browser when you open the page dotnetspider.com or login to your dotnetspider account, a cookie will get written on your Hard disk. To view this cookie simply click on “Show cookies” button mentioned on above path. Click on dotnetspider.com site under this cookie list. You can see different cookies written by dotnetspider domain with different names.
Site: dotnetspider.com Cookie name: DNSID
Name: DNSID(Name of the cookie)
Content: 1d11c8ec44bf49e0… (Encrypted content)
Domain: dotnetspider.com
Path: / (Any path after the domain name)
Send For: Any type of connection
Expires: Thursday, December 31, 2020 11:59:59 PM


Did you like this resource? Share it with your friends and show your love!

Responses to "Where and How cookies are stored?"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Submit Article     Return to Article Index

    Subscribe to Subscribers
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Priya jain
    More...
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India