Hi,

We found the source of our problem.

The problem comes from the use of page objects (eg. variables declared at 
the page level).

We actually didn't know that these page objects are shared among many 
users by the CP engine. Thus the confusion created when many people access 
the same page at once.

Our only way out: use User Session Objects (with the commands 
putUserSessionObjects, putAnyUserSessionObjects, and the likes).

Thanks for your reply.

Regards,

Pierre

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: mardi 20 avril 1999 21:20
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [ND] confusion with simultaneous users


Sounds like the typical problems caused by improper use of Instance
variables. Avoiding static variables is not enough. The usage of an 
instance
variables is valid only within a ***single web event***, since the same 
Page
Instance is shared by different user sessions. 

A little more explanation of what you are trying to do and how, will help
diagnose the problem.

Regards,

Aby

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 20, 1999 1:22 PM
> To: [EMAIL PROTECTED]
> Subject: [ND] confusion with simultaneous users
> 
> Hello,
> 
> When we have many users using our application at the same time, they get
> mixed up data. User 1 gets the data (pulled from a common db) which 
should
> get to user 2 and vice-versa.
> We checked that we don't have any static vars in our project and we still
> get everything all mixed up.
> 
> Has this already happened to anyone?
> 
> Regards,
> 
> Pierre
> _________________________________________________________________________
> 
> 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