"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/base/classes/client.php" between
Open-Web-Analytics-1.6.9.tar.gz and Open-Web-Analytics-1.7.0.tar.gz

About: Open Web Analytics (OWA) is web analytics software to track and analyze how people use your web sites and applications.

client.php  (Open-Web-Analytics-1.6.9):client.php  (Open-Web-Analytics-1.7.0)
skipping to change at line 335 skipping to change at line 335
owa_coreAPI::debug("This request is part of a active session."); owa_coreAPI::debug("This request is part of a active session.");
return false; return false;
} else { } else {
//NEW SESSION. prev session expired, because no requests since some time. //NEW SESSION. prev session expired, because no requests since some time.
owa_coreAPI::debug("This request is the start of a new session. Prio r session expired."); owa_coreAPI::debug("This request is the start of a new session. Prio r session expired.");
return true; return true;
} }
} }
/** /**
* Logs tracking event from url params taken from request scope.
* Takes event type from url.
*
* @return unknown
*/
function logEventFromUrl($manage_state = false) {
// keeps php executing even if the client closes the connection
ignore_user_abort(true);
$service = owa_coreAPI::serviceSingleton();
$service->request->decodeRequestParams();
$event = owa_coreAPI::supportClassFactory('base', 'event');
$event->setEventType(owa_coreAPI::getRequestParam('event_type'));
$event->setProperties($service->request->getAllOwaParams());
// check for third party cookie mode.
$mode = owa_coreAPI::getRequestParam('thirdParty');
if ( $mode ) {
return $this->trackEvent($event);
} else {
return owa_coreAPI::logEvent($event->getEventType(), $event);
}
}
/**
* Logs tracking event * Logs tracking event
* *
* This function fires a tracking event that will be processed and then disp atched * This function fires a tracking event that will be processed and then disp atched
* *
* @param object $event * @param object $event
* @return boolean * @return boolean
*/ */
public function trackEvent($event) { public function trackEvent($event) {
// do not track anything if user is in overlay mode // do not track anything if user is in overlay mode
 End of changes. 1 change blocks. 
25 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)