Getting/using client information in WEB page 
Author Message
 Getting/using client information in WEB page

Hi to all,

Following the recommendations found in this newsgroup,
I've tried the following, but nothing is displayed in the
browser window and I don't receive any error either.

<HTML>
<HEAD><TITLE>my title</TITLE></HEAD>
<BODY>
  <BR>
  <BR>      <font color=blue size=5> my title </font>
  <BR>
  <BR>
        <SCRIPT LANGUAGE="VBScript">
        <!--
          dim cnt
          cnt = request.servervariables.count
          document.writeln("count is " & cnt & "<BR>")
          for each strkey in request.servervariables
            document.writeln("key = " & strkey & " value " &
                           request.servervariables(strkey) & "<BR>")
          next
        -->
        </SCRIPT>
</BODY>
</HTML>

My hope is to be able to catch the client information (specifically the
client Windows Logged on "Username")
and to use it for setting dinamically one of the properties of an <OBJECT>
that will be included in the HTML file.
This I also intended to do by using document.write() to write a <PARM> tag
for the object.

Previously I tried the same using CreateObject("Wscript.network"), but I
understand that this also doesn't work inside HTML, due to security reasons.

I'm very new to all these issues, so I'll be very grateful if anybody could
explain me what I've done wrong and how can I
solve the problem, which I don't think should be very complicated or tricky.

Thanks & Regards,
Iudith Mentzel



Fri, 06 Feb 2004 20:35:10 GMT  
 Getting/using client information in WEB page
The Request object is part of ASP and needs run via IIS

<%
           dim cnt
           cnt = request.servervariables.count
           response.write ("count is " & cnt & "<BR>")
           for each strkey in request.servervariables
             response.write("key = " & strkey & " value " &
                            request.servervariables(strkey) & "<BR>")
           next
%>



Fri, 06 Feb 2004 21:49:28 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help with getting information from a web page into a database - clearify

2. Getting SQL Data Into Word Using a Web Page

3. fat client (MSMQ, VB Program) or thin client (ASP page then have Web server use MSMQ)

4. Passing variables from one web page to another web page using JavaScript

5. Getting Share Information on Win95 Client

6. Getting Share Information on Win95 Client

7. Getting information from client computers....

8. Getting Share Information on Win95 Client

9. Tab-pages and getting sound information

10. automatically populating information into a web page

11. Populating Web Pages with Db information.

12. parsing information from web pages

 

 
Powered by phpBB® Forum Software