cookie location

Posted on 2007-08-01
Medium Priority
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

Accepted Solution

stumpy1 earned 100 total points
ID: 19607364
which probably translates to
LVL 15

Expert Comment

ID: 19607560
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.

Author Comment

ID: 19610889
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

750 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