Thank you Edgars.
I kind of follow the logic. However one thing that baffles me is how does switch (WebGetArg("type"))
change from Start > File > End ?
This is what I assumed some XHR script would be sending to the Hansa server.
In your example it is all Hal code so I am a bit lost how each stage gets invoked.
Please come back to me
Thanks
Lee