Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/o/t/ottwatch-HEAD/lib/gdata/samples/apps/marketplace_sample/appengine_utilities/django-middleware/middleware.py   ottwatch(Download)
        self.request = request
        if sessions.Session.check_token():
            request.session = sessions.Session()
        else:
            request.session = sessions.Session(writer="cookie")
    def save(self):
        self.request.session = sessions.Session()
 
    def process_response(self, request, response):
        if hasattr(request, "session"):

src/g/d/gdata-2.0.18/samples/apps/marketplace_sample/appengine_utilities/django-middleware/middleware.py   gdata(Download)
        self.request = request
        if sessions.Session.check_token():
            request.session = sessions.Session()
        else:
            request.session = sessions.Session(writer="cookie")
    def save(self):
        self.request.session = sessions.Session()
 
    def process_response(self, request, response):
        if hasattr(request, "session"):

src/g/a/gaeutilities-HEAD/appengine_utilities/django-middleware/middleware.py   gaeutilities(Download)
        self.request = request
        if sessions.Session.check_token():
            request.session = sessions.Session()
        else:
            request.session = sessions.Session(writer="cookie")
    def save(self):
        self.request.session = sessions.Session()
 
    def process_response(self, request, response):
        if hasattr(request, "session"):

src/r/e/Readable-Feeds-HEAD/appengine_utilities/django-middleware/middleware.py   Readable-Feeds(Download)
        self.request = request
        if sessions.Session.check_token():
            request.session = sessions.Session()
        else:
            request.session = sessions.Session(writer="cookie")
    def save(self):
        self.request.session = sessions.Session()
 

src/f/r/freesideatlanta-members-HEAD/appengine_utilities/django-middleware/middleware.py   freesideatlanta-members(Download)
        self.request = request
        if sessions.Session.check_token():
            request.session = sessions.Session()
        else:
            request.session = sessions.Session(writer="cookie")
    def save(self):
        self.request.session = sessions.Session()
 

src/s/e/sessionpicker-HEAD/appengine_utilities/django-middleware/middleware.py   sessionpicker(Download)
        self.request = request
        if sessions.Session.check_token():
            request.session = sessions.Session()
        else:
            request.session = sessions.Session(writer="cookie")
    def save(self):
        self.request.session = sessions.Session()
 
    def process_response(self, request, response):
        if hasattr(request, "session"):

src/c/o/CollabQ-HEAD/middleware/session.py   CollabQ(Download)
        self.request = request
        if sessions.Session.check_token():
            request.session = sessions.Session()
        else:
            request.session = sessions.Session(writer="cookie")
    def save(self):
        self.request.session = sessions.Session()
 

src/g/e/geraldo-HEAD/site/newsite/site-geraldo/common/appengine_utilities/django/middleware.py   geraldo(Download)
    def process_request(self, request):
        request.session = sessions.Session()
        request.session.set_test_cookie = self.set_test_cookie
        request.session.test_cookie_worked = self.test_cookie_worked
        request.session.delete_test_cookie = self.delete_test_cookie

src/c/r/cronschedule-HEAD/appengine_utilities/django-middleware/middleware.py   cronschedule(Download)
    def process_request(self, request):
        request.session = sessions.Session()
        request.session.set_test_cookie = self.set_test_cookie
        request.session.test_cookie_worked = self.test_cookie_worked
        request.session.delete_test_cookie = self.delete_test_cookie