hi mod / All,
mod thanq for ur reply.
i tried FormsAuthentication.Authenticate that is also not working.
in my login page i'm using login control and i have my own code for login purpose,i just used membership.validate function to check the user in aspnet tables.
if the username and pwd matches with my own table and aspnet tables then only user can login otherwise he can't.
i'm implimenting webparts in my application to aviod personnalization problem i used login control.
here what i observed is when ever a user is created he is created with my applicationname what i gave in web.config
here i'm giving that have a look
<providers>
<
remove name="AspNetSqlMembershipProvider" />
<
add connectionStringName="LocalSqlServer" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="false"
applicationName="/IAS" requiresUniqueEmail="false" passwordFormat="Clear"
maxInvalidPasswordAttempts="100" minRequiredPasswordLength="6"
minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
passwordStrengthRegularExpression="" name="AspNetSqlMembershipProvider"type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</
providers>
once loging into the application through login control it is creating the same user with default application name "/ " prvided by aspnet tables.
so it is having 2 users with same name and different applicationid and userid in aspnet_users table.
that scenario occured before 2 days,here also i'm able to login but from last 2 days application not allowing us to login.
flag = Membership.ValidateUser(ObClsLoginDTO.UserName.ToLower(), ObClsLoginDTO.PassWord.ToLower());
flag2=
FormsAuthentication.Authenticate(ObClsLoginDTO.UserName.ToLower(), ObClsLoginDTO.PassWord.ToLower());
both flags are returning false.and i'm uanble to get where is the problem.
above 2 statements i used regarding login control.remaing code is my own for login purpose.
hope u understood.if not let me know.
help me to overcome this.
thanx in advance.
Regards,
suma.j