Click here to Skip to main content
13,189,531 members (65,080 online)
Rate this:
Please Sign up or sign in to vote.
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
why is happening?
what should i do to resolve my issue?
Posted 18-Dec-12 18:29pm
Updated 18-Dec-12 19:25pm
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171016.2 | Last Updated 19 Dec 2012
Copyright © CodeProject, 1999-2017
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