cookie location

Posted on 2007-08-01
Last Modified: 2008-01-09
hi there; i've created a basic cookie:

Dim newCookie As HttpCookie = New HttpCookie("MyCookie")
newCookie.Values.Add("Location", txtLocation.text)
newCookie.Values.Add("Company", txtCompany.text)
newCookie.Expires = #12/31/2008#

which is later called and displayed:

Response.Write(Request.Cookies("MyCookie")("Location") & "<br>")
If Request.Cookies("Chowdown")("Company") = "Wal Mart" Then
                Response.Write("Wal Mart")
                Response.Write("No company.")
End If

this works fine.  my question is, where on my hard drive is this cookie being stored.  i'm using vista business and checked my temporary internet files but it doesn't seem to be there.

C:\Users\<user>\AppData\Local\Microsoft\Windows\Temporary Internet Files

i've even deleted all files in this folder, ran the page and recreated the cookie but still nothing (and, yes, i refreshed the temp internet files folder).

thanks all.
Question by:vbnewbie01
    LVL 5

    Accepted Solution

    which probably translates to
    LVL 15

    Expert Comment

    There is a cookies folder in your Windows profile directory in system volume, which contains all cookies.

    Your web browser can also open up the cookies folder for you, I guess.
    LVL 1

    Author Comment

    hey, guys, thanks for your response.  stumpy1; you were close.  that was one of two places ... the cookies folder was actually located:


    as per the following article:


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now