vbnewbie01
asked on
cookie location
hi there; i've created a basic cookie:
Dim newCookie As HttpCookie = New HttpCookie("MyCookie")
newCookie.Values.Add("Loca tion", txtLocation.text)
newCookie.Values.Add("Comp any", txtCompany.text)
newCookie.Expires = #12/31/2008#
Response.Cookies.Add(newCo okie)
which is later called and displayed:
Response.Write(Request.Coo kies("MyCo okie")("Lo cation") & "<br>")
If Request.Cookies("Chowdown" )("Company ") = "Wal Mart" Then
Response.Write("Wal Mart")
Else
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\Lo cal\Micros oft\Window s\Temporar y 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.
Dim newCookie As HttpCookie = New HttpCookie("MyCookie")
newCookie.Values.Add("Loca
newCookie.Values.Add("Comp
newCookie.Expires = #12/31/2008#
Response.Cookies.Add(newCo
which is later called and displayed:
Response.Write(Request.Coo
If Request.Cookies("Chowdown"
Response.Write("Wal Mart")
Else
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\Lo
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hey, guys, thanks for your response. stumpy1; you were close. that was one of two places ... the cookies folder was actually located:
C:\Users\<user>\AppData\Ro aming\Micr osoft\Wind ows\Cookie s\Low
as per the following article:
http://www.dutchduck.com/help/cookies%20explorer/faq/where%20are%20cookies%20stored.htm
C:\Users\<user>\AppData\Ro
as per the following article:
http://www.dutchduck.com/help/cookies%20explorer/faq/where%20are%20cookies%20stored.htm
Your web browser can also open up the cookies folder for you, I guess.