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\chucki e\cookies
where chuckie is the name of the user?
VR
Jason Shohet 1 1461
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******** ******@TK2MSFTN GP09.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\chucki e\cookies where chuckie is the name of the user?
VR Jason Shohet
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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
|
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 I have found all look something like this:
response.buffer = "true"
dim x
|
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 cookies are set and
written to a textfile correctly in the server. All cookie values in
|
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 eliminate the special characters, but
as it is, I do not have that luxury.
When I write the cookies, they seem okay in IE, but in Firefox, they are
strange. For example, the cookie name is US-NONUS, but in Firefox it looks
like US%2DNONUS. For a...
| |
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 into production unless they can
actually see where the cookie is being written. They are concerned
that the cookie may stay around after they leave the screen and grant
authorization to other users to get to web pages that they are now
allowed...
|
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 I look in the folder there is nothing
there from my Domain.
This is a simlified version but, I have tried many things.
What am I missing?
Yes I allow all cookies
Thanks
Mike
|
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 added the following:
try
{
Signature.Text = Request.Cookies.Value;
}
catch
|
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 getting the one cookie?
Thanks,
- Stew
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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,...
|
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...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |