Welcome! Log In Create A New Profile

Advanced

Variable value is resetting

November 10, 2021 01:12PM
Hi,

I have a static int variable in a load balancing module and initially set it to 0. I want to update this variable when there will be any HTTP requests with certain criteria. It gets updated but whenever the module receives a new HTTP request ( or after receiving a few HTTP requests), that int variable again resets to 0. how can I prevent it from resetting the value?

Thanks in advance.
Subject Author Posted

Variable value is resetting

malzad November 10, 2021 01:12PM

Re: Variable value is resetting

Maxim Dounin November 10, 2021 03:02PM

Re: Variable value is resetting

malzad November 10, 2021 08:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready