Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2336) - Critical section support for code in ActiveVFP
Message
From
14/07/2016 06:55:39
Naeem Afzal
Syed Junaid Alam
Manama, Bahrain
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
SYS(2336) - Critical section support for code in ActiveVFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01638377
Message ID:
01638377
Views:
72
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
Reply
Map
View

Click here to load this message in the networking platform