I’m trying to track data coming from an app that runs in a museum, as such there is only one IP address that the data comes from… lets say 192.128.0.2 for the sake of argument.
This means sometimes the session hasn’t timed out when a new user starts, even though I’ve shortened the length of the session.
Is there a way of forcing a new session or ending a current session even if it comes from the same IP?
// If you want to force the visitor IP, or force the server date time to a date in the past,
// it is required to authenticate the Tracking request by calling setTokenAuth
// You can pass the Super User token_auth or any user with 'admin' privilege on the website $idSite
$t->setTokenAuth( $token_auth );
$t->setIp( "134.10.22.1" );