[Extension]Unable to disable Form command of type Session
While i am trying to Disable one standard form command of type Session(Activate a - Session), using IS ENABLED hook is not working. Whereas same hook is working for Form command of type Function(Activate a - Function).
I have also tried using BEFORE.COMMAND hook with disable.command() it also Not Working.
Please suggest, where exactly i need to place the code to Disable Session type Form command using Extensions
Thanks in advance.