Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't reset authid on login call, zabbix.js line 103 #6

Open
jykae opened this issue Nov 5, 2015 · 2 comments
Open

Don't reset authid on login call, zabbix.js line 103 #6

jykae opened this issue Nov 5, 2015 · 2 comments

Comments

@jykae
Copy link

jykae commented Nov 5, 2015

I removed this line to login just once in my application.
Otherwise I would need to login each time before I make a call to Zabbix API.

@tibotiber
Copy link

@jykae: thanks for the report.
@joaobentes: this is from you, can you clarify? Is that part of the code you wanted to rollback and refactor?

@joaobentes
Copy link
Contributor

@tibotiber No, it comes with the zabbix.js. I had proposed to code a kind of safe call, when the login is made before the call and a logout is made after the call. However, such approach did not solve my issue and seemed too heavy. Basically, the solution was to login only once (when the hook of our system starts).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants