p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Dreamweaver (all versions) (http://p2p.wrox.com/forumdisplay.php?f=58)
-   -   UserId/Computer Name (http://p2p.wrox.com/showthread.php?t=32055)

mrookey August 2nd, 2005 07:18 AM

UserId/Computer Name
Good morning! I am using DWMX with MS SQL and have created a history table that is populated via a trigger everytime an insert, update, or delete action takes place on a particular table. My problem is trying to capture either the UserId/Computer name of the person performing the action. I've tried "SUSER_SNAME" and "USER", but it only returns the Userid of the person currently logged on - me! Although I'm using session variables in the application, I can't seem to translate those into Userids in SQL - any ideas?

Imar August 2nd, 2005 11:47 AM

Does Request.ServerVariables("Auth_User") in ASP give you what you need? Or maybe one of the other server variables??


Imar Spaanjaars
Everyone is unique, except for me.

All times are GMT -4. The time now is 11:22 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.