473,503 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

what is index.dat in regards to cookies?

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
8 1204
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
14663
by: Maverick | last post by:
Hello all, I read some good reviews about jakarta HTTPClient about its session and cookies management system and fancied giving it a try as a learning exercise but somehow I don't seem to be able...
4
3857
by: Brian Burgess | last post by:
Hi all, Anyone know of any special issues with storing cookies with ASP? I'm trying this with two browsers: One is IE 6.0 with cookies set to 'prompt'. This has been working properly as any...
3
1700
by: Yarn | last post by:
pages? For low traffic sites I just use sessions and redirect if not logged in <% if NOT session("loggedIn") = "true" then response.redirect("index.asp") end if %>
8
14011
by: John Dalberg | last post by:
What happens when a cookie expires? Does it mean that when the browser or sessions ends, it doesn't get saved? I am using Opera and looking at available cookies and I can some cookies that have...
0
1055
by: Jason Shohet | last post by:
I need a simple cookie to be written from dos commands (a batch file), and go into the cookies folder, to be a textfile that is easily readable -- not an encrypted thing in the index.dat file...
11
2078
by: Jody L. Whitlock | last post by:
I have just had a really strange request. I have to modify one of my programs (User Migration) so that it will migrate a specific cookie to the new PC. Now, one cannot just copy the cookie to the...
1
1367
by: Eric Layman | last post by:
This is how I clear all cookies/give cookies/detect cookies am i doing it the right way? Somehow or rather, i would hit an object cannot be instanisiated from null or something whenever it tries...
8
1419
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - What is the document object model? ----------------------------------------------------------------------- ...
1
1596
by: JOHNSHELL08 | last post by:
A file named Index.dat is always present in cookies when user write cookies in run dialog box. so i want to know which kind of file is it. & why its is created by default & it's not deleted .
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.