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]