Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am using form authentication and set the fallowing properties in my config file

<forms loginUrl="~/Login.aspx" protection="All" timeout="30" name="ewAppsCookie" requireSSL="false" slidingExpiration="true" defaultUrl="~/HomePage.aspx" cookieless="UseCookies" enableCrossAppRedirects="false"/>
when i clicked on Login button then i am calling
FormsAuthentication.RedirectFromLoginPage(UserName, true)

method that method redirct me to HomePage.
but when i again run the application then username and password does not auto
populate,
why is happening?
what should i do to resolve my issue?
Posted
Updated 18-Dec-12 19:25pm
v3
Comments
krishnaspmoorthy 19-Dec-12 1:53am    
Not Clear. May be need to elaborate you question.
amit_83 19-Dec-12 2:18am    
I logged on with remember me checkbox at first time, now i again
run the application but user name and password does not persist,
why user name password does not persist?

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900