This topic is locked
[SOLVED]

 Get 'WorkStation ID:' from Clients PC

8/5/2005 1:43:31 PM
ASPRunnerPro General questions
Alberto author

Hellow,
How could we Get "WorkStation ID" from the Client's PC to conect to the MS SQLServer 2000 database and give it the real value for the parameter ...;WSID=*;... in the

strConnection = "DRIVER=SQL Server;SERVER=Server Name;UID=user;PWD=password;APP=App Name;WSID=***
;DATABASE=DBName"
Thanks for the help

admin 8/6/2005

Alberto,
you can use something like this:

strConnection = "DRIVER=SQL Server;SERVER=Server Name;UID=user;PWD=password;APP=App Name;WSID="  & Request.ServerVariables("REMOTE_HOST") &  ";DATABASE=DBName"

Alberto author 8/16/2005

Thanks Sergey