Open fgazelot opened 5 years ago
Hi Fabien, There is a "switch_domain" function of the session which allows you to have multiple sessions to different domains after logging in to the Shared domain that might be an option.
Have you tried to write a threaded function with your session login?
Hi David,
We work actually on a script to clean some elements on a multi-domain SMC.
Today, this script works well when we do a loop on all domain to clean elements. The script does a session login then clean elements and logout. This is for each domain.
However, do you think it's possible to use "multi-thread" to clean elements on all domain at the same time? This implies to have multiple sessions at a time.
The problem is how to have different sessions inside each thread?
I use this version of smc-python:
Do you have any suggestion for this issue?
Kind regards, Fabien