This may have been asked before, but I can't seem to find a good example for this, my pre-apologies if I missed it.
Is there a guide anywhere for session management with the Management API? I keep running into the issue where the object I'm working on is locked.
My script basically:
* Login, get SID
* Do stuff (add rules / network objects)
* Publish
* Logout
However, without fail, I seem to either crash the smart console because I've left a session hanging around, or I lock an object for the next run of my script.
Do you guys have an overall suggested strategy for handling session management?
Thanks!!!
Joey