Re:Ask HN: Client side or server side sessions?
by codegeek on Thursday August 02, 2012 @02:36PM
(#4330240)
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?
[ Parent
| on HN ]
Re:Ask HN: Client side or server side sessions?
by martinml on Thursday August 02, 2012 @02:47PM
(#4330300)
I 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/