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

How to collect the UserID, Client Machine Name, IP address info?

Kam
In my asp server page, I would like to collect the USERID, Client Machine
Name, IP Address information and passing it back to the server for validation
control.

How can I achieve it in Jscript?
Aug 4 '05 #1
3 2430
You only have access to what is offered in the servervariables collection.

Do yourself a favor and run this script:

<%
For Each x In Request.ServerVariables
Response.Write "<hr>" & x & "<br>" & Request.ServerVariables(x)
Next
%>

"Kam" <Ka*@discussions.microsoft.com> wrote in message
news:EF**********************************@microsof t.com...
In my asp server page, I would like to collect the USERID, Client Machine
Name, IP Address information and passing it back to the server for
validation
control.

How can I achieve it in Jscript?

Aug 4 '05 #2
Kam
all the variables are empty.
I think you want me to use LOGON_USER.
but none of the server variable are non empty

pls help

"Aaron Bertrand [SQL Server MVP]" wrote:
You only have access to what is offered in the servervariables collection.

Do yourself a favor and run this script:

<%
For Each x In Request.ServerVariables
Response.Write "<hr>" & x & "<br>" & Request.ServerVariables(x)
Next
%>

"Kam" <Ka*@discussions.microsoft.com> wrote in message
news:EF**********************************@microsof t.com...
In my asp server page, I would like to collect the USERID, Client Machine
Name, IP Address information and passing it back to the server for
validation
control.

How can I achieve it in Jscript?


Aug 4 '05 #3
> all the variables are empty.

Every single ServerVariable value is empty? I find this very hard to
believe.
I think you want me to use LOGON_USER.


If you need LOGON_USER, you need to disable anonymous access on the web site
and require windows authentication.

A
Aug 5 '05 #4

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

Similar topics

5
by: JezB | last post by:
Any way I can get at a unique "Client ID" within server code ? I'm writing some auditing and I want to record which particular client machine initiated a request, for example. I imagine in an...
3
by: Sangeetha Nagaraj | last post by:
Hi Pals, I am a starter to web services. I have a requirement. I want to develop a web service, which accepts userid and password from the user and checks it with the MS Access database. If the...
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
6
by: libero familymac news | last post by:
Hy! sorry for my bad english... i'm developping web forms in c# and i have to take the client machine name I try with server variables ( request.servervariables ) and with...
2
by: WhatHappend | last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service invocations have delay of around 10seconds on each intial access. After the first access subsequent access are fast (After a...
0
by: just.an.imbecile | last post by:
Hello all, Here is a quick version of my problem. I have a website that consists of 4 ASPX pages. Every field is required by default, but on pages 1 and 2, there are several fields that can be...
2
by: willyd61 | last post by:
Hello Everyone! Newbie here... I can't configure any remote clients to connect to my DB2 server, I am able to run and connect local from the server, but if I try to connect with a user and...
2
by: nsaffary | last post by:
hi I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set...
4
by: sjohnson1984 | last post by:
Hello all, I have a form which is generated using a database query - the recordset is filled with agent details, login time and the like, and there are as many rows in the table as records in the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.