As Juan said, ActiveX can be used. Since you are expecting a WINNT login, you can run 
a vb script snippet on the client side.
I think the following code may be of some help

<HEAD> <TITLE> </TITLE>
<Script Language="VBScript">
   Dim objNet
   On Error Resume Next 'if fail to create object then display custom error
   Set objNet = CreateObject("WScript.NetWork") 'Create activeX object
   currentURL = Document.Location
   msgToUsr = "You are not a WINNT authenticated User."
   If  Err.Number <> 0 Then  'User might have selected No on the ActiveX box
      if MsgBox("Please Press the Yes Button in the Browser Warning Window. " & vbcrlf 
& " It is required for checking authorization to Access the link you Selected." & 
vbcrlf & "Do you want to Continue?", vbYesNo) = vbYes then
         Document.Location = currentURL  'show the page again
      Else
         msgToUsr = "<B>You have Chosen Not to Proceed with this Page</B><br>The scir 
pt should be allowed to run inorder to check your WINNT authentication"
      End If
            'It will display again
   Else
      Dim strInfo
      strInfo = "User Name is     " & objNet.UserName & vbCRLF & _
                "Computer Name is " & objNet.ComputerName & vbCRLF & _
                "DomaIn Name is   " & objNet.UserDomain
      'The required info is above.
                Set objNet = Nothing      'Garbage Collection
   End If
</Script>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to