473,408 Members | 1,759 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,408 software developers and data experts.

where are cookies written?

I need to get the computer name that the user's browser is on (intranet app
here). We don't want Netbios turned on. So, when the user logs in, the
network engineers have a file written onto the user's machine. Then, my .NET
app is going to read from that text file -- ON THE USER'S MACHINE. How to
do it... I'm thinking the only way is: Have the text file written to the
place that .NET cookies are written to. Then I'll be able to access it like
reading a cookie.

Does this sound like a good idea? If so, I assume the location only
c:\documents and settings\chuckie\cookies
where chuckie is the name of the user?

VR
Jason Shohet
Nov 18 '05 #1
1 1448
Hi, Jason Shohet,

If it is an intranet application why don't you consider using the IP address
of the clients? Is there a difference if you have the machine name or if you
have the user's IP Address (or at least one of the IP addresses that are
configured on the machine)?

Greetings
Martin
" Jason Shohet" <as****@hotmail.com> wrote in message
news:eZ**************@TK2MSFTNGP09.phx.gbl...
I need to get the computer name that the user's browser is on (intranet app here). We don't want Netbios turned on. So, when the user logs in, the
network engineers have a file written onto the user's machine. Then, my ..NET app is going to read from that text file -- ON THE USER'S MACHINE. How to
do it... I'm thinking the only way is: Have the text file written to the
place that .NET cookies are written to. Then I'll be able to access it like reading a cookie.

Does this sound like a good idea? If so, I assume the location only
c:\documents and settings\chuckie\cookies
where chuckie is the name of the user?

VR
Jason Shohet

Nov 18 '05 #2

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

Similar topics

4
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...
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
2
by: Glen | last post by:
Hi, I am looking for a way to delete (expire) all the cookies that we've ever written to the user's machine. I have found several scripts, however I have come across one "gotcha." The scripts...
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...
4
by: Robin Briggs | last post by:
Hi. I have an ASP (3.0, not .NET) app that writes cookies with hyphens and spaces in the names and values. If I had the control over the apps that will be looking for these cookies, I would...
3
by: HorseGeek | last post by:
I can't find a cookie that my code is writing. The behavior of my webpages indicates that the cookie IS being written SOMEPLACE. However, I can't find it. My client does not want the code going...
12
by: Mike | last post by:
Hello, I have been trying to get cookies to work. It seems I can get this cookie to be persistant in the browser but I want to write it to my Cookies Folder. I have tried many variations but when...
2
by: Johnnie Norsworthy | last post by:
I am trying to debug a C# ASP.NET application in VS.NET. I have added a text box to my form for storing a user signature which I am trying to persist using cookies. In my Page_Load() I have...
4
by: Gridlock | last post by:
I'm trying to read the cookies using HttpContext.Current.Request.Cookies, but the only cookie that I get is the ASP.NET SessionId cookie. There are many cookies on the machine, why am I only...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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
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...

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.