Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Local Machine variables????

Status
Not open for further replies.

SYTEK

Programmer
Apr 26, 2002
17
0
0
GB
I am creating an active desktop web page from our local intranet. All clients are windows XP.

I have currently got the Local clients IP Address to be displayed displayed at the bottom but I am struggling with the rest.

How do i display the local client machine description, Operating system and screen resolution??

thanking you in anticipation.

<%
dim ip_address
ip_address = request.ServerVariables(&quot;Remote_addr&quot;)
response.write ip_address & &quot;<br>&quot;
%>
 
Display information about the browser:

Code:
<%
response.write request.servervariables(&quot;HTTP_USER_AGENT&quot;)
%>

...

To get the screen-res. you'll have to do some js-thingy This is not a bug - it's an undocumented feature...
;-)
 
Its not the browser i am interested in its the screen resolution.
 
Sorry... I meant it will display the OS...

Mine looks like this:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 1.0.3705) This is not a bug - it's an undocumented feature...
;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top