In the case of a new site session, SiteSessionManager.handleSiteRequest() iterates over the array of SiteSessionStartProcessor components, calling each one’s processSiteSessionStart() method.

The Oracle ATG Web Commerce installation provides one class that implements the SiteSessionStartProcessor interface, atg.multisite.ReferringSiteProcessor. This processor sets the referringSite property on the requested site’s SiteSession.