Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-11-08 : 07:19:11
|
| Tinker writes "I have a good question. Right now I log a users ip address with their details when they login to my sql app. Any ideas how I can get their computer name (NetBIOS name) instead? My logon activity screen isn't as useful as it could be with computer names. SQL 2K, IIS 5, Classic ASP" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2004-11-08 : 07:26:23
|
| The only way to do this in a web app is to have some kind of client-side code that grabs the computer name and passes it to the web server, via a form control. You *might* be able to do this with JavaScript, but it may only work properly on Windows machines and only those using Internet Explorer.Many ASP/JavaScript sites have some browser sniffing code, try your favorite site, or here:http://www.dynamicdrive.com/ |
 |
|
|
|
|
|