View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
FoxWeb does indeed set the default directory and the path between the time fw_enter.prg exits and the script is executed.  This is mainly because it needs to set the default directory to the  location of the script.  Fw_enter can change the script, by  changing the value of Request.ProgramPath, so the setting of the default directory is done after fw_enter.

FoxWeb Support Team

Sent by Alan Harris-Reid on 12/20/2001 05:45:52 AM:
Cas, thanks for the reply,

>...I had a similar problem and worked my way around that by starting each script calling the settings procedure (which i keep together with the scripts).<

I had considered that, but that would defeat the object of the 'neater' solution of having pre- and post-script programs (ie. FW_enter and FW_exit) already built into Foxweb.  It may be the way to go, but I want to avoid it if at all possible (it's yet one more thing for me to remember!).