Can someone tell me how the "remember me" function is supposed to work?
Should it be saving my username and password in the relevant text fields? Do I need my browser to "save" my password?
I'm asking because I can't find a reason to keep this checkbox on my website, as I don't think it's working, and seems redundant if the browser can save the username and password anyway.
Hi. Techically in both cases the forms authentication is implemented with cookies. In case when something like a "keep me logged in" checkbox is not selected asp.net creates a so called "session cookie" - a cookie that's not persisted in the local client storage (simply speaking a hard drive) and dies away as soon as the current browser window is closed. "Keep me logged in" option makes it to create a persistent cookie with a definite life span - such a cookie will be saved locally on the client and will be reused on the next visit to the site even after closing and opening a browser window again.
Thanks for the clarification. It is working for me, but my browser settings delete all history, cache and cookies when I quit the browser.
I'll re-word it to "keep me logged in" as this more accurate, as I think "remember me" is misleading.
So for anyone else interested, the function works, but only if your or your users browsers are set up to accept cookies and not delete them when you quit the browser.
How does the "remember me" function work?
Can someone tell me how the "remember me" function is supposed to work?
Should it be saving my username and password in the relevant text fields?
Do I need my browser to "save" my password?
I'm asking because I can't find a reason to keep this checkbox on my website, as I don't think it's working, and seems redundant if the browser can save the username and password anyway.
Let me know your thoughts.
Cheers,
JV
From what i know it justs keep a cookie that are used to authenticate the user the next time he/she visits the site. More like "keep me logged in".
Hi. Techically in both cases the forms authentication is implemented with cookies. In case when something like a "keep me logged in" checkbox is not selected asp.net creates a so called "session cookie" - a cookie that's not persisted in the local client storage (simply speaking a hard drive) and dies away as soon as the current browser window is closed. "Keep me logged in" option makes it to create a persistent cookie with a definite life span - such a cookie will be saved locally on the client and will be reused on the next visit to the site even after closing and opening a browser window again.
Thanks for the clarification. It is working for me, but my browser settings delete all history, cache and cookies when I quit the browser.
I'll re-word it to "keep me logged in" as this more accurate, as I think "remember me" is misleading.
So for anyone else interested, the function works, but only if your or your users browsers are set up to accept cookies and not delete them when you quit the browser.
Cheers,
JV
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.