473,651 Members | 2,512 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 1209
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******** ******@tk2msftn gp13.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******** ******@tk2msftn gp13.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******** ********@TK2MSF TNGP11.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******** ********@TK2MSF TNGP11.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("WHE RE_DOES_IT_GO", "COOKIES");
c.Expires = DateTime.MaxVal ue;
c.Path = "/";
Response.SetCoo kie(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
14692
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 to get it to work properly. I'm basically trying to connect to this site http://s1.starkingdoms.com/scripts/main.php I am able to get past the authentication login page onto the next screen but I then can't proceed any further because of...
4
3867
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 new site I goto seems to prompt me to store their cookie. The other is Pocket IE on Pocket PC 2002, with the cookies set to 'enabled'. My problem is that the cookies dont seem to be being written with my ASP. I dont get the prompt to store...
3
1707
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
14016
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 expiration dates in the past. Does this mean that they are in memory and they are still valid cookies which sites can test for their existance and return true. I thought if a cookie's expiration is set in the past, it gets removed from memory and...
0
1060
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 (which i think is where .NET cookies go?). Then I want to read from that cookie, in a .NET app, later on. My thinking today was to try a js cookie, since .NET cookies are too difficult to write (need Interop etc). Unfort, when I write a js...
11
2087
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 new PC without modifyinig the Index.dat file. But, after many hours of Googling, I cannot find the data structure of this file. Any ideas? Thanks, Jody W
1
1372
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 to read cookies Clear cookies: Response.Cookies.Clear()
8
1424
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - What is the document object model? ----------------------------------------------------------------------- This is the collection of objects provided by each browser. Basically, any object in the window hierarchy is part of the DOM. This means that ` document.writeln() `, for example, is not an ECMAScript method but is, in fact, a method provided by the...
1
1604
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
8275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8802
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8465
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8579
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2699
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 we have to send another system
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1587
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.