04-29-2010, 05:30 PM
[eluser]Vik[/eluser]
There are many threads about implementing a "Remember Me" checkbox on login. Most discuss setting the expiration date of the session at a distant future time. Very good. Looking at the cookie helper and session class, I see how to set all cookies to expire at a distant future time, but not a way to do it only when the "Remember Me" checkbox is checked.
What is the correct way to change the expiration date only when the "Remember Me" checkbox is checked?
Thanks in advance to all for any info.
There are many threads about implementing a "Remember Me" checkbox on login. Most discuss setting the expiration date of the session at a distant future time. Very good. Looking at the cookie helper and session class, I see how to set all cookies to expire at a distant future time, but not a way to do it only when the "Remember Me" checkbox is checked.
What is the correct way to change the expiration date only when the "Remember Me" checkbox is checked?
Thanks in advance to all for any info.