473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

why do js cookies get written encrypted to index.dat?

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 cookie, it too seems to be written to the
index.dat file! I recall a couple years ago when I started out with .NET,
if I wrote js cookies, they did appear in the cookies folder -- as regular
text files! I wonder if something has changed to force them into index.dat?

(My basic goal is I need to read from a file (cookie or otherwise),
containing the machinename of the current user's machine. Netbios is turned
off -- so those gethostmachine func's aren't going to work. I'm basically
stuck here. I need to find some way for .NET to read a bit of info off the
current user's machine. And that info has to be written there thru easy dos
commands (sheesh)

TY jason shohet
Nov 16 '05 #1
0 1051

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: marvin | last post by:
Hi- if i want to send secure information to my sister: 1) generate a key on keyfocus on my local machine (not connected to the web using keyfocus webserver) 2) base64_encode encrypted data...
20
by: Brian Burgess | last post by:
Hi all, Anyone know if this is possible? If so, on which page would the cookie be? .. On the page calling a function defined in the include file? thanks in advance.. -BB
1
by: duane | last post by:
Dear Experts: I have a problem. When you enter the website I am working on, wherever you go within the website, the URL address on the website will display: "http:\\..\index.html", whether...
6
by: Amit Agarwal | last post by:
How do you turn off cookies for one page in your site?
0
by: Rafa® | last post by:
I am developing an Class Library, that is intended to have some classes and methods for Web Interfaces This way, I wrote my authentication system in this DLL. It would write the security ticket in a...
2
by: Chris... | last post by:
I have an application that works just fine under normal conditions. But... When I run it through a "SSL Consentrator" (From Array Network), it starts to send me several (Request) cookies with the...
11
by: Mark | last post by:
We use cookies to maintain some state information about a users session. They are not file based due to the fact that we don't specify a expiration date. They go away when the session ends. I...
1
by: Tyson Brown | last post by:
All We recently started writing a couple encrypted values to the user's cookie using FormsAuthentication.Encrypt. Such as: Dim tmpTicket1 As New FormsAuthenticationTicket(1, "TEST", Date.Now,...
1
by: Randall Parker | last post by:
Some basic security questions: 1) Is there any difference in the sort of encryption keys needed for encrypted cookies versus for https connections? 2) Does one need encrypted cookies for...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.