473,569 Members | 2,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1056

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

Similar topics

5
3031
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 using the key (on my local machine) 3) set the cookie on the user machine using the encrypted base64_encoded
20
3533
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
2400
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 you go to "Page1.html", "Page2.html", etc. The cookies in every page is set on "<BODY onLoad = "setCookie();">. Except for index.html, all the...
6
349
by: Amit Agarwal | last post by:
How do you turn off cookies for one page in your site?
0
924
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 cookie on the client.. I have used this construction HttpContext.Current.Response.Cookies.Add(New HttpCookie(FormsAuthentication.CookieName,...
2
387
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 same name after the application has performed a "SignOut" - One with a "correct value" and one more that is blank. If I try to use/handle the...
11
1170
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 know it's possible to modify a file based cookie. However, what would it take for a hacker that did not have access to our web server to modify the...
1
1474
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, Date.Now.AddMinutes(60), False, "Boom1") Dim tmpResults1 As String = FormsAuthentication.Encrypt(tmpTicket1) Response.Cookies.Add(New...
1
1161
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 people who log on to a site using forms authentication?
0
7695
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8119
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
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...
0
6281
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5218
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...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
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
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
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...

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.