Author: jeppe_r | Posted on: 2/4/2009 2:41:20 PM | Views : 300

Hello there,
I have my code here:
 
1 protected void LoginButton_Click( object sender, EventArgs e)
2 {
3 if( Membership.ValidateUser( Email.Text, Password.Text ) )
4 {
5 FormsAuthentication.RedirectFromLoginPage(Email.Text, RememberMeCheckbox.Checked);
6
7 }
8 else
9 {
10 InvalidLoginLabel.Visible = true;
11 }
12 }
But
I want to make the cookie permanent, or the timeout very long like a
year or something. So if they mark the "Remember me" they will Go to the complete details ...