View Single Post
Old 10-05-2009, 03:18 AM  
dr.owned
Junior Member
 
Join Date: Oct 2009
Posts: 24
Default

oh man.. ignore my last post i found an error in my script.
so file retrieval using full path works ok.
and the only problem remaining is weblinks...

also during debugging of my script i noticed the following two things.

- it would be nice to know which command caused server to call the script, to be able to respond accordingly. for now i imitate such feature by having specific tcl scripts bound to all possible pre- and post- handlers where i save and clear the last command respectively. it works, but still..

- and since scripts will be able to find out the command they were called by, why not make the same script handle the processing of all commands which somehow involve its virtual directory. on the one hand it eases VDs implementation by leaving all handling to programmer, but on the other it's a performance loss. so maybe there is a point in making it configurable (like ForceVirtualDirectoryScriptCalls = TRUE/FALSE) so those who don't require speed could benefit from extended functionality.
dr.owned is offline   Reply With Quote