By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,408 Members | 1,796 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,408 IT Pros & Developers. It's quick & easy.

what is index.dat in regards to cookies?

P: n/a
I used to recall, when i started doing .NET years ago, that cookies written
in js, or .NET cookies, were placed in the cookies folder (documents &
settings, cookies). Now I just see this index.dat file getting updated
instead and I suspect the cookies are held in there somehow. How do you get
back to normal cookies, that I can view, unencrypted etc? Is it an IE6 on
XP issue...?

TY jason shohet
Nov 18 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Hi Jason,

It is a housekeeping file for IE:

http://support.microsoft.com/default...b;en-us;322916

"Jason Shohet" <__******@yahoo.com> wrote in message
news:er**************@tk2msftngp13.phx.gbl...
I used to recall, when i started doing .NET years ago, that cookies written
in js, or .NET cookies, were placed in the cookies folder (documents &
settings, cookies). Now I just see this index.dat file getting updated
instead and I suspect the cookies are held in there somehow. How do you
get
back to normal cookies, that I can view, unencrypted etc? Is it an IE6
on
XP issue...?

TY jason shohet


Nov 18 '05 #2

P: n/a
are you setting an expires date on them? if not they are memory only
cookies.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jason Shohet" <__******@yahoo.com> wrote in message
news:er**************@tk2msftngp13.phx.gbl...
I used to recall, when i started doing .NET years ago, that cookies written in js, or .NET cookies, were placed in the cookies folder (documents &
settings, cookies). Now I just see this index.dat file getting updated
instead and I suspect the cookies are held in there somehow. How do you get back to normal cookies, that I can view, unencrypted etc? Is it an IE6 on XP issue...?

TY jason shohet

Nov 18 '05 #3

P: n/a
Hi Curt,

even if i didn't set expiration on them, but i went into windows explorer --
as the browser is open -- and browse to the cookie folder, it should be
there right. All i see is this index.dat file getting updated. I want to
see an actual cookie... I know its there, but its getting sucked up by
index.dat somehow perhaps?
Even when i write it in javascript (& call it from the aspx page, in an
onclick event etc), the js function executes to write the cookie, but the
only thing i see is that darn index.dat file getting updated to the latest
datetime. I dont see a physical cookie .txt file, maybe they're gone in IE6
/ XP ?
TY
Nov 18 '05 #4

P: n/a
open ie
TOOLS - OPTIONS
Temporary Internet Files - SETTINGS
VIEW FILES? start there perhaps.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jason Shohet" <__******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Curt,

even if i didn't set expiration on them, but i went into windows explorer -- as the browser is open -- and browse to the cookie folder, it should be
there right. All i see is this index.dat file getting updated. I want to
see an actual cookie... I know its there, but its getting sucked up by
index.dat somehow perhaps?
Even when i write it in javascript (& call it from the aspx page, in an
onclick event etc), the js function executes to write the cookie, but the
only thing i see is that darn index.dat file getting updated to the latest
datetime. I dont see a physical cookie .txt file, maybe they're gone in IE6 / XP ?
TY

Nov 18 '05 #5

P: n/a
Oh wait...go up a few folders. There is a Cookies folder

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jason Shohet" <__******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Curt,

even if i didn't set expiration on them, but i went into windows explorer -- as the browser is open -- and browse to the cookie folder, it should be
there right. All i see is this index.dat file getting updated. I want to
see an actual cookie... I know its there, but its getting sucked up by
index.dat somehow perhaps?
Even when i write it in javascript (& call it from the aspx page, in an
onclick event etc), the js function executes to write the cookie, but the
only thing i see is that darn index.dat file getting updated to the latest
datetime. I dont see a physical cookie .txt file, maybe they're gone in IE6 / XP ?
TY

Nov 18 '05 #6

P: n/a
i know that cookies folder under doc's & settings. Do u have IE6 on XP?
Try writing a cookie from .NET. Then attempt to browse for that cookie txt
file using windows explorer...
I challenge anyone here to find it ;) Its not there. It looks like its
sucked up into index.dat somehow, since thats all thats in that cookies
folder.
Nov 18 '05 #7

P: n/a
I just did this:

HttpCookie c = new HttpCookie("WHERE_DOES_IT_GO", "COOKIES");
c.Expires = DateTime.MaxValue;
c.Path = "/";
Response.SetCookie(c);

And the cookie file was immediately created in the cookies folder.
Important to note: without the path the file wasn't created, with the
path it was.

IE 6, XP Pro, .NET 1.0

-Jason

Jason Shohet wrote:
i know that cookies folder under doc's & settings. Do u have IE6 on XP?
Try writing a cookie from .NET. Then attempt to browse for that cookie txt
file using windows explorer...
I challenge anyone here to find it ;) Its not there. It looks like its
sucked up into index.dat somehow, since thats all thats in that cookies
folder.

Nov 18 '05 #8

P: n/a
fascinating. Thanks Jason. I never set the path before, and the cookie
works fine but its invisible. I'm going to try out setting the path as u
suggested, and perhaps i'll finally see it... TY!
Nov 18 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.