3 ms·
Thanks I have looked through this already. I even used the snippet to use itsdangerous module which seems more secure. But how do I tie all that in a session ?
by codegeek 14y ago
Thanks I have looked through this already. I even used the snippet to use itsdangerous module which seems more secure. But how do I tie all that in a session ? More importantly, client side or server side?
- martinml 14y agoI don't know if I understood your question correctly. If you use Redis (or whatever backend) you don't need to sign the cookie with itsdangerous (or whatever module). You just generate a SID and stick it into a cookie: http://flask.pocoo.org/snippets/75/ http://flask.pocoo.org/snippets/75/