def process_request(self, request, response):
        """Get session ID from cookie, load corresponding session data from coupled store and inject session data into
            the request context.
        """
        sid = request.cookies.get(self.cookie_name, None)
        data = {}
        if sid is not None:
            if self.store.exists(sid):
                data = self.store.get(sid)
        request.context.update({self.context_name: data})
def process_request ( self , request , response ) : sid = request . cookies . get ( self . cookie_name , None ) data = { } if sid is not None : if self . store . exists ( sid ) : data = self . store . get ( sid ) request . context . update ( { self . context_name : data } )
Get session ID from cookie, load corresponding session data from coupled store and inject session data into
            the request context.