Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SYS(2336) - Critical section support for code in ActiveVFP
Message
De
14/07/2016 06:55:39
Naeem Afzal
Syed Junaid Alam
Manama, Bahrain
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
SYS(2336) - Critical section support for code in ActiveVFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01638377
Message ID:
01638377
Vues:
67
I am using ActiveVFP in IIS. IIS is multi threaded web server. I use ActiveVFP scripts which are prg files but with a different extension. I have not compiled my VFP code as a COM exe/dll.

If two or more users call an ActiveVFP script file (a process) at IIS, is it possible that IIS will hold the first user thread anywhere before completion and call the second thread from other user ?

I am using local variables and since i am not using any VFP form so i think, vfp datasession will be default i.e. 1.

How can I protect my variables values / table record pointers / common files etc from first thread to other threads ?

How can I add "Critical section support" in my ActiveVFP script files ?

TIA
Répondre
Fil
Voir

Click here to load this message in the networking platform