Are you sure that wasn't intended to run server-side?  Even if not, standard
security settings should prevent something like that running in IE on most
user's systems.  IF they even have WSH installed and running on their
computers.

Jim

----- Original Message -----
From: "Reed Powell" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, January 13, 2002 7:37 PM
Subject: OT: VBscript problem getting user information


> What little hair I have is going fast.  Below is a piece of
> VBscript I copied off of the MS site, but it dies with
> errors relating to the WSCRIPT object.  All I want to do is
> to get the user's authenticated domain and username. When it
> finally works, I'll put that info into a couple of hidden
> form fields so that the server can see who the user is.
> Cannot use the CGI header vars because the proxy server is
> stripping them off before they get to my CF server.  I'm not
> much of a VBscript guy, so any help is appreciated.
>
> thanks
> -reed
>
>
>
>      <script language="VBScript">
>          Set WshNetwork =
> WScript.CreateObject("WScript.Network")
>          document.write "Domain = " & WshNetwork.UserDomain
>          document.write "User Name = " & WshNetwork.UserName
>       </script>
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to