What are some best practices for cookie based web authentication?

Posted by rdasxy on Programmers See other posts from Programmers or by rdasxy
Published on 2011-11-12T08:08:46Z Indexed on 2011/11/12 10:13 UTC
Read the original article Hit count: 364

I'm working on a small side project using CGI and Python (scalability is not an issue and it needs to be a VERY simple system.

I was thinking of implementing authentication using cookies, and was wondering if there were any established best practices.

When the user successfully authenticates, I want to use cookies to figure out who is logged on. What, according to the best practices, should be stored in such a cookie?

© Programmers or respective owner

Related posts about best-practices

Related posts about web-development