Hacker Newsnew | comments | show | ask | jobs | submitlogin

I still have no idea what a "Remember me" checkbox is when I encounter one. It certainly doesn't seem to be a "keep me logged in" function. I don't know if it has something to do with form autofill, because my browser seems to do that wether it is checked or not.

Can anyone demystify this for me?




"Remember me" checkboxes and form auto-fill are unrelated.

The form auto-fill behavior depends is part of the browser UI, and can be configured in its option menu.

The a "remember me" checkbox sets an identifying cookie with a late expiry date. Until that date, and unless you log out, the web site will recognize you (the server keeps a registry of what ID number correspond to which user). No need to authenticate on connection because the cookie is sent with each request.

Without the remember me option, the expiry time is short, say 30-60 minutes, but it may be renewed as long as the user is active. If you're inactive for a longer period, the cookie will be discarded, and the site will not recognize you anymore.

When you log out, the session reference is deleted on the server, and, optionally, the cookie is cleared in the browser.

-----


> The form auto-fill behavior depends is part of the browser UI, and can be configured in its option menu.

This can be dictated by the website as to whether or not this is allowable.

-----


Great info! I'll try examining the cookie next time I encounter one.

-----




Applications are open for YC Summer 2015

Guidelines | FAQ | Support | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: