When the HTTP session expires, the SiteSessionManager’s doStopService() method is called. This method iterates over the array of SiteSessionEndProcessor components, calling each one’s processSiteSessionEnd() method on each SiteSession.

You can also end a SiteSession directly by calling its SiteSession.end() method. This method runs all SiteSessionEndProcessor components on the SiteSession, and removes the SiteSession from the SiteSessionManager.