Consultor Eletrônico



Kbase P114281: using setsession to set session variables
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/03/2006
Status: Unverified

FACT(s) (Environment):

WebSpeed 3.x
OpenEdge 10.x

SYMPTOM(s):

using setsession to set session variables

each user creates a file called sys.tmp

when more than one user, the file appears to be overwritten

the Messengers Set Connection ID is not selected

useConnID in ubrokers.property file is set to zero

CAUSE:

When using the setsession function, the code in session.p, init-request procedure, tries to get the session:server-connection-id to name the file. If that value is blank, the code automatically assigns the name of the file being created to sys.tmp.

FIX:

Set the useConnID parameter for the WebSpeed messenger to 1 either by:
1. In the Progress Explorer, under Messengers, select your type of Messenger's Property. Under the Advance features, check the checkbox for Session Connection ID.
2. Edit the ubrokers.property file. In your type of Messenger's section add useConnID=1. By default this parameter equals 0.