BlockOperation()
ts
// in class: Session
function BlockOperation();
At any point in a script, invoked by any event-hanlder, a call to this Session method will instruct the server (virtual site worker process) to block the next operation, whatever that operation is.
A few examples (but truly this list could go on forever):
- Block a directory list operation (in the OnDirList event-handler)
- Block a file upload (in the BeforeFileUpload event-handler)
- Block a certain type of authentication (in the OnAuthRequest event-hanlder)
- ...and so on