Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Remote User Name

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,155
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Remote User Name
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Remote User Name - 6/12/2001 5:56:10 AM   
  acarter

 

Posts: 2
Score: 0
Joined: 6/12/2001
From:
Status: offline
Is there a way of getting the Remote User name (not the IP but the actual name) in VBScript. I can capture this to a file using FP forms but there must be a more elegant way of doing this. Needless to say, I only started to use VBScript this morning!
 
 
Post #: 1
 
 Re: Remote User Name - 6/12/2001 10:42:54 AM   
  aspprogrammer

 

Posts: 10
Score: 0
Joined: 6/9/2001
From: Belgium
Status: offline
Hi Carter,

No idea in VBScript but in ASP this should work:)

<%
response.write(Request.ServerVariables("REMOTE_ADDR"))

%>

(in reply to acarter)
 
 
Post #: 2
 
 Re: Remote User Name - 6/12/2001 10:53:58 AM   
  aspprogrammer

 

Posts: 10
Score: 0
Joined: 6/9/2001
From: Belgium
Status: offline
Ooopss sorry, I was wrong, try this instead

request.servervariables("HTTP_VIA")

(in reply to acarter)
 
 
Post #: 3
 
 Re: Remote User Name - 6/13/2001 5:52:10 AM   
  acarter

 

Posts: 2
Score: 0
Joined: 6/12/2001
From:
Status: offline
Cheers for that. It worked a treat.

(in reply to acarter)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Remote User Name Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts