Kbase P58236: Can you use shared variables on the AppServer?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
GOAL:
Can you use shared variables on the AppServer?
FIX:
It is possible to use shared variables on the AppServer when the AppServers operating mode is State-Aware or State-Reset. The shared variables should be defined as global shared variables. However, please note that shared variables are not recommended in the AppServer programming model as using them does remove the possibility of using the Stateless operating mode (where each client request may go to a different server). Because of this flaw, please consider the use of one of the following instead of shared variables:
1) Pass the data as parameters.
2) Use the SESSION:SERVER-CONNECTION-CONTEXT attribute on the AppServer.