Session validity


  • @Moderator_1 @admin @Moderator_2 @Moderator_3
    Hello SmartAPI team,
    Hope you're doing great. I have read the complete documentation of the API and have few questions. First, how many sessions can I generate with one API key. Example, with the first session I generate I get a JWT, a refresh token and feed token. Now if I generate a second session, what happens to the all the tokens? Will they be valid? If they're valid, how can I manage these sessions? Second, I am able to establish a websocket connection even after destroying the JWT by calling terminationSession method provided in the documentation. How is this possible?
    Thanks in advance.
    Yours sincerely,
    Jaideep.