<%lcPhysical = Request.ServerVariables("PATH_TRANSLATED") lnLastSlash = 0 lnSlash = 1 lnStart = 1 do while lnSlash > 0 lnSlash = Instr(lnLastSlash+1,lcPhysical,"\") if lnSlash > 0 Then lnLastSlash = lnSlash end if LOOP lcPhysical = LEFT(lcPhysical,lnLastSlash -1) %>

Web Connection Demo Page
Web Connection Server Maintainence
## Web Connection Server Maintainence Show Web Connection Server Hit Log Log Summary (Requires IE 4.0) Show Error Log Clear the Log to today's date Edit Web Connection Server Settings (Requires IE 4.0) Quick View of settings Ini File Editor Reindex Web Connection System Files Reindex Web Connection Demo Files Compile WCS script pages Requires the VFP development version installed on the server (full path) | ## General DLL Methods Show and Manage DLL Settings Shows the status of the DLL flags, all instances of the server loaded under Automation and the current state of the HoldRequests flag. Switch to File Based Messaging Switch to Automation Messaging This link switches the server from Automation based messaging to File Based messaging. Note that you still have change the VFP server by starting up the interactive VFP session. Update Code online Update the EXE file online with an uploaded file as specified by the ExeFile and UpdateFile keys in wc.ini.
Session Management
## Automation Server (Enterprise Edition Only) Load all Servers from INI Load all the servers that are defined in the wc.ini setup file. All files will be loaded at once. Unload all Servers Release all loaded servers from memory. Note that this option does not prevent the servers from immediately reloading from another request. Unload all Servers but one Unload all Servers but one and Hold Requests This requests puts the server into maintainence mode by shutting down all but one server. With one server active you can run maintainence tasks that require Exclusive access to the database. | ## File Based Start New Server Starts a new file based Web Connection session, but the session may run invisibly on the desktop. Uses the ExeFile= key in the wc.ini file to launch the Exe. Kill a Server Kills a session. All but the last session can be killed, but there's no control over which of the sessions is killed. In order to kill the last session use the Unconditional kill operation.