'Update the session cookie to match the current session.'

def __update_session_cookie(self, name='galaxysession'):

    self.set_cookie(self.security.encode_guid(self.galaxy_session.session_key), name=name, path=self.app.config.cookie_path)
