You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I tried to clear the session, since I have no idea how to clear all session once logout, but after I did session.clear() I got this error
File "../env/lib/python2.7/site-packages/flask/app.py", line 2000, in __call__ return self.wsgi_app(environ, start_response) File "../env/lib/python2.7/site-packages/flask/app.py", line 1984, in wsgi_app ctx.push() File "../env/lib/python2.7/site-packages/flask/ctx.py", line 332, in push self.session = self.app.open_session(self.request) File "../env/lib/python2.7/site-packages/flask/app.py", line 914, in open_session return self.session_interface.open_session(self, request) File "../env/lib/python2.7/site-packages/flask_session/sessions.py", line 516, in open_session if saved_session and saved_session.expiry <= datetime.utcnow(): TypeError: can't compare datetime.datetime to NoneType
I tried to drop my session db table but still doesnt work
Hi I tried to clear the session, since I have no idea how to clear all session once logout, but after I did session.clear() I got this error
File "../env/lib/python2.7/site-packages/flask/app.py", line 2000, in __call__ return self.wsgi_app(environ, start_response) File "../env/lib/python2.7/site-packages/flask/app.py", line 1984, in wsgi_app ctx.push() File "../env/lib/python2.7/site-packages/flask/ctx.py", line 332, in push self.session = self.app.open_session(self.request) File "../env/lib/python2.7/site-packages/flask/app.py", line 914, in open_session return self.session_interface.open_session(self, request) File "../env/lib/python2.7/site-packages/flask_session/sessions.py", line 516, in open_session if saved_session and saved_session.expiry <= datetime.utcnow(): TypeError: can't compare datetime.datetime to NoneType
I tried to drop my session db table but still doesnt work
any idea @fengsp ?
Thanks
The text was updated successfully, but these errors were encountered: