Client and Developer InterfacesJavaScriptSessionSession stateOn this pageSession state About Returns the state of the current channel Click here to expand Table of Contents 1 Example 2 See Also Example while(session.state == "CS_EXECUTE") { // do something fun} Note: you really should use session.ready instead of the above example See Also JavaScript