Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/r/drape-HEAD/session.py   drape(Download)
    def _run(self):
        ''' read data from store '''
        cookie_name = config.SESSION_COOKIE_NAME
        request = self.__request
        cookie = request.cookie
    def set_cookie_attr(self, path='/', expired=None, domain=None):
        ''' set attr of the cookie for session '''
        cookie_name = config.SESSION_COOKIE_NAME
        cookie = self.__request.cookie
        cookie.add(cookie_name, self.__session_id, path, expired, domain)