.net - Asp.net "Remember Me" does not work through FormsAuthentication.RedirectFromLoginPage() -
In my login page I'm using FormsAuthentication.RedirectFromLoginPage () but the user is valid It does not follow the CreatePersistence cookie parameter. I searched in Google and modified my web. Confirm but still remember me the functionality does not work. This is my sample code structure (using the asp.net login control as the login UI) if (MyService.ValidateUser (login user.username, Login user.password)) {FormsAuthentication.RedirectFromLoginPage (login user.USIR, login user. RememberMeSet); } the web. Conflict & lt; Forms login login = "~ / account / login.aspx" timeout = "21600" cookieless = "autodetect" name = "MySiteAuth" sliding aspiration = "true" /> Even when the LoginUser.RememberMeSet is true (the user has selected the Remember me checkbox) the browser does not remember the session. So when I open the web site the next time I am presented with the log in page. Ideally the login page should c...