<% *oJSON=NEWOBJECT('json','json.prg') *IF ISNULL(osession.value('xusersid')) OR EMPTY(osession.value('xusersid')) * RETURN [

Session expired! you have to login again

] *ENDIF functionname=orequest.form("thecommand") theresponse=&functionname *STRTOFILE(theresponse,'d:\temp\theresponse.txt') oresponse.write(theresponse) oresponse.flush %>