Here you need to understand what this does. The FormsAuthentication() method here sets a cookie that has a property called 'IsPersistent', which is set to true if Remember Me is checked or has value true.
Now what should happen is whenever a user enters the url, he should be redirected to the Home page rather than the login.
For this, in the Login Get method, you need to check for the existence of session & also cookie and if both are present i.e. not null, then check if IsPersistent is true, if true then redirect from there to the home page directly.
Sometimes while on debug mode when we stop the process, the session gets destroyed, but the browser persists the cookie details that contains the identity name. So, when you run again, session would then be oviously null, so check if cookie is present and session is null, if that is so, based on the cookie unique username create a session and redirect to home page(remember to check always for isPersistent).
Remember Me doesnot work[
^]
I hope this helps you understand.
Post back your queries if any.
Happy to help..:)
Thanks.