| || |
Not Able to apply Mutex properly .Please Help
I have a application where session ids are getting generated in the form of the link
Here Session id is 9981 and it is in the form of incremented by one everytime .. this value is in the DATABASE
Here by applying the MUTEX we are able to fetch the value
CHARACTER*512 TRA_ID ( "9782", "9783", "9784" ),script
CHARACTER*512 MYTRA_ID, LOCAL
SET MYTRA_ID = TRA_ID
RELEASE MUTEX "LOGIN"
log "MYTRA_ID= ", MYTRA_ID
And replacing it in the url
PRIMARY GET URI "http://pibqa3/Client/XferConfirmed.aspx?id="+MYTRA_ID+" HTTP/1.0" ON 3 &
But problem is here it is fetching the right value and incrementing it in the database but transaction is not happening
Can you tell me why it is happening?
Re: Not Able to apply Mutex properly .Please Help
Kind of hard to tell from your description. Please post the complete script, and a complete log of running the script from the modeler (this will be single user, so mutexes won't matter at all). Also, I suggest that you capture (load response_info body) and log the output of each primary get/put up to and including the get listed in your post. Odds are by the time you have done this, you will have figured out what is wrong.