Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread CurrentServerUser within Engine.BeforeDeleteTrigger
Wed, Oct 4 2006 10:59 AMPermanent 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 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email 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 PMPermanent 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 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email 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

Image