l.s.w.s.LaunchpadCookieClientIdManager(CookieClientIdManager) : class documentation

Part of lp.services.webapp.session View In Hierarchy

No class docstring
Method __init__ Undocumented
Method getClientId Undocumented
Method setRequestId As per CookieClientIdManager.setRequestID, except
Method _get_secret Undocumented
Method _set_secret Undocumented
def __init__(self):
Undocumented
def getClientId(self, request):
Undocumented
def _get_secret(self):
Undocumented
def _set_secret(self, value):
Undocumented
def setRequestId(self, request, id):
As per CookieClientIdManager.setRequestID, except we force the domain key on the cookie to be set to allow our session to be shared between virtual hosts where possible, and we set the secure key to stop the session key being sent to insecure URLs like the Librarian.

We also log the referrer url on creation of a new requestid so we can track where first time users arrive from.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.