views:

54

answers:

2

Hey guys,

I'm working on the login/ucp module of an application and I'd love to add a "remember me" option to remember the currently logged-in user and keep them logged in next time they visit.

I know this requires JavaScript cookies, and I've never done anything like this before. Do you have any boilerplate code or tutorials that could help walk me through setting up a "remember me" system with js and cookies? Thanks in advance!

A: 

This is a good post that helped me to develope the same feature before:

Remember Me Feature

Which has a link to this article...

Garis Suero
+1  A: 

Hi there,

Have a look at this post.

Persistent Login Cookie Best Practice

Marko