Your IP address has changed. For security reasons, please login again

with every click session gets logged out and flashing Your IP address has changed. For security reasons, please login again.
please guide how to resolve it.

// to increase security the session of a user is checked for the IP address
// this needs to be the same for every request. This may not work with
// network situations where you connect via multiple proxies, so you can
// switch off the checking by setting this to 0
define(‘CHECK_SESSIONIP’, 0);
has been copied to main config.php and it resolved the issue