Arbortext Command Language > Callbacks > session_remove_callback
  
session_remove_callback
session_remove_callback(cbtype, callback)
Removes callback from the list of functions called when a session-level event occurs. The callback parameter specifies the callback to remove.
The cbtype parameter needs to be a valid callback type (valid callbacks are listed under the session_add_callback function). If callback is not on the callback list for the session or if cbtype is invalid, the function returns 0. If it's successful, the function returns 1.
Example
$ret = session_remove_callback("quit", main:: DocCallback)
Related Topics
session_add_callback function