jonhcw

reusing sid to authenticate a nimSession in Perl API

Discussion created by jonhcw on Sep 27, 2013

Hi,

 

I have a scenario where I'd like to reuse the sid received from logging in to nimbus with Perl API. The script runs almost constantly, but might stop now and again. If the sid is still valid, I'd like to avoid prompting the user for credentials again. Does anyone know if there's a way to do this? It seems there's no such parameter available to nimSession.

 

Similar functionality exists in .NET api:

 

public NimbusSession(); public NimbusSession(string nimbusAddress); public NimbusSession(Socket socket, SslStream sslstream); public NimbusSession(string hostOrAddress, int port); public NimbusSession(string nimbusAddress, string sid); public NimbusSession(string hostOrAddress, int port, string sid); public NimbusSession(string nimbusAddress, string controllerIp, int controllerPort); public NimbusSession(string nimbusAddress, string controllerIp, int controllerPort, string sid);

 -jon

Outcomes