Link to home
Start Free TrialLog in
Avatar of DavidBirch2dotCom
DavidBirch2dotCom

asked on

Easy Q for any one who knows ISAPI

ASKER CERTIFIED SOLUTION
Avatar of tanghz
tanghz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DavidBirch2dotCom
DavidBirch2dotCom

ASKER

Thanks :) that’s fixed it

I’m not trying to access anything outside of the CGI bin, however I just didn’t know how to access the stuff in the CGI bin - now I do :)

However I am still trying to figure out how I could cope with multiple simultaneous requests for the same file.... any ideas?

Thanks

David
post on the old Q for the points
Normally, different requests should reside in different threads.
You just need to
1. var CS: TRTLCriticalSection;
   and
InitializeCriticalSection(CS) in the OnFormcreate event,

2. put the read file code between the
  EnterCriticalSection

and

 leaveCriticalSection;

This should work.

The code between this clock can only be processed for one thread within one Process (or application).
More details can be obtained from help

Good luck.
thanks tanghz :) IT WORKED :)

i assume I can use multiple TRTLCriticalSection's? just by using other varibles ?

u get the points, post somthing in this question to get the points

https://www.experts-exchange.com/questions/20946761/Severside-text-file-access.html

David