I believe  that DOs are allocated to sessions the same way that pages are.
Your session has exclusive access to the DO object during  the life of the
web event, i.e., from the time the URL is received to the time that all the
SQL is sent back.  If two sessions execute the DO simultaneously, it would
mean that there are 2 separate instances of the DO.
-- Curti Springer
   team ND

At 05:05 PM 5/13/99 -0800, [EMAIL PROTECTED] wrote:
>
>You must be very careful.
>I usually do not take this risk.
>If the two method are executed during the same web event I believe you are
ok.
>If the two methods are not executed during the same web event it may pick
up the wrong
>       value. (even if there are no other sessions. If you have more than one cp
you still
>       could get the wrong value from the other cp)
>
>[EMAIL PROTECTED] wrote:
>>Hi all,
>>
>>I am executing a query in a user module's static method:
>>
>>- in Method1, I execute the data object
>>- in Method2, I use getLastResults() to read the query result
>>
>>If I have 2 sessions running, and Session2 executes the data object right
after Session1
>       excuted the same data object, will that affect Session1-Method2's query
result? Any
>       help would be greatly appreciated!
>>
>>Steve
>
>_________________________________________________________________________
>
>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]

Reply via email to