Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 18-Dec-12 18:29pm
amit_83972
Edited 18-Dec-12 19:25pm
v3
Comments
krishnaspmoorthy at 19-Dec-12 1:53am
   
Not Clear. May be need to elaborate you question.
amit_83 at 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)



Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100