Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 4 of 4 total |
CurrentServerUser within Engine.BeforeDeleteTrigger |
Wed, Oct 4 2006 10:59 AM | Permanent Link |
Mark Shapiro | I am using DBISAM 4 within an Asta middleware server and want to create an
Engine.BeforeDeleteTrigger event to record details when certain types of records are deleted. I want to include in a log the remote user whose session triggered the deletion. It appears that the TriggerSession.CurrentServerUser parameter should hold that value but it is unclear how that property gets filled in the first place since user log-in takes place through the Asta socket components. Any advice would be appreciated. Mark Shapiro |
Wed, Oct 4 2006 5:07 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Mark,
<< I am using DBISAM 4 within an Asta middleware server and want to create an Engine.BeforeDeleteTrigger event to record details when certain types of records are deleted. I want to include in a log the remote user whose session triggered the deletion. It appears that the TriggerSession.CurrentServerUser parameter should hold that value but it is unclear how that property gets filled in the first place since user log-in takes place through the Asta socket components. Any advice would be appreciated. >> Unfortunately the CurrentServerUser parameter is only filled in when using the DBISAM database server. -- Tim Young Elevate Software www.elevatesoft.com |
Wed, Oct 4 2006 5:25 PM | Permanent Link |
Mark Shapiro | Tim,
Is there any other value I can fill/pull from a TriggerSession to identify the remote user who intiated a deletion? Mark Shapiro |
Thu, Oct 5 2006 4:05 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Mark,
<< Is there any other value I can fill/pull from a TriggerSession to identify the remote user who intiated a deletion? >> Well, if there's a way via ASTA to find out the remote user's name, then you may be able to do so by using threadvars or something similar, but it will probably be messy. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |