If a script is called via the old method of referencing foxweb.exe in the URL, then CGI.ExecutablePath will be equal to "/cgi-bin/foxweb.exe". If on the other hand the same script is called though script mapping, then CGI.ExecutablePath will be empty.
FoxWeb Support Team
Sent by Martin Martin on 10/05/2015 01:10:21 PM:
I recently reboot my computer and I start to get strange error that I can't explain.
After investigation, I noticed a variable used in my all my links xhanged for no raison. "CGI.ExecutablePath" is empty when I get the error.
After doing couple of refresh then it's ok again ....refresh then bad again .... Like the content of "CGI.ExecutablePath" contain "cgi-bin/foxweb.exe" or it countain nothing. ?!
I then investigate if it depend on a specific channel (have over 10 channels) by looking at "CGI.CURRENTCHANNEL" but I can't associate channel with the error.
I have thousand of programs using this old "CGI" coding style... What can cause the CGI.ExecutablePath" to be empty ?