CFGP_SESSION

This constant manages the expiration time of the session that is set for each visitor individually. This session prevents excessive API calls and it lasts until a defined expiration time is reached or IP address is changed.

Source

File: /cf-geoplugin/globals/cf-geoplugin-setup.php

if(!defined('CFGP_SESSION'))
{
	define('CFGP_SESSION', 30); // 30 minutes
}

Session expiration time is defined in minutes.

Example

These constant can be modified within your wp-config.php file:

define('CFGP_SESSION', 60); // Set to 60 minutes
Was this page helpful?