Aby,
Aby,
Thanks for replying.
Actually, the dataObject I am executing is a Customized PAC Service we have written.
It is meant the log-out a user in our legacy system. That is the reason I need to
execute the dataObject when the session expires.
I can retrieve the user session object in onSessionExpiring() but I can't call a
method
in our PAC service.
In onSessionTimedOutEvent(), I am able to call the method in our PAC service,
but I cannot retrieve my user session objects which are used as parameters to the
method call.
Regards,
Ferdie
"Mathew, Aby" <[EMAIL PROTECTED]> wrote:
>Ferdie,>
>DataObjects are of limited use in onSessionExpiringEvent. Reason:
>DynamicCriteria are not kept in the DataObject, but in UserSessionObject. In
>the onSessionExpiring event trying to do addDynamicCriteria is as futile as
>trying to do putUserSessionObject. Even if you are not doing
>addDynamicCriterion, setting the key field values of a CSpUpdate object may
>be dependant on the same mechnism.
>
>I wouldn't try to use DataObjects in onSessionExpiringEvent. I would use
>executeImmediate and forget about performance. Anyway, this is not expected
>to happen too often.
>
>Aby
>
>
>> -----Original Message-----
>> From: Ferdie Say [SMTP:[EMAIL PROTECTED]]
>> Sent: Monday, June 28, 1999 8:22 PM
>> To: [EMAIL PROTECTED]
>> Subject: [ND] Please help: onSessionExpiringEvent
>>
>>
>>
>> I need to to do some cleanup when the session expires. I am doing the
>> cleanup
>> in the CSpProject method this_onSessionExpiringEvent() since this is the
>> only place
>> where I can retrieve my user session objects. My problem is that I could
>> not execute
>> a data object in this method. Is this a bug of ND? Is there any
>> workaround?
>>
>> I would appreciate it very much if anyone can answer my question.
>>
>> Thanks,
>> Ferdie Say
>> _________________________________________________________________________
>>
>> For help in using, subscribing, and unsubscribing to the discussion
>> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>>
>> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]