Problem with Login Control and Custom Membership provider

  • Thread starter =?ISO-8859-1?Q?Carlos_Guzm=E1n_=C1lvarez?=
  • Start date
?

=?ISO-8859-1?Q?Carlos_Guzm=E1n_=C1lvarez?=

Hello:

I have custom Membership and Role providers for an ASP.NET application,
the problem comes when the Authentication gets done ( and i'm using the
Login control, it finished properly ) but looks like the user is not
really logged in ( Verified using the LoginView control )

¿¿ What could be the possible reasons for that problem ??

Thanks in advance !!!

P.S.: My web.config file for authenticaction and autorization looks like
this:

<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms">
<forms loginUrl="Renovacion.aspx"
protection="All"
timeout="30"
name=".ASPXFORMSAUTH"
path="/FormsAuth"
requireSSL="false"
slidingExpiration="true"
defaultUrl="Acceso.aspx"
cookieless="UseCookies"
enableCrossAppRedirects="false"/>
</authentication>

<membership
defaultProvider="MembershipProvider"
userIsOnlineTimeWindow="15">
<providers>
<add
connectionStringName="ConnectionString"
applicationName="XXX"
minRequiredPasswordLength="5"
minRequiredNonalphanumericCharacters="0"
enablePasswordRetrieval="true"
passwordFormat="Clear"
name="MembershipProvider"
type="XXX.XXXMembershipProvider"
/>
</providers>
</membership>

<roleManager
enabled="true"
cacheRolesInCookie="true"
defaultProvider="RoleProvider"
cookieName=".ASPXROLES"
cookiePath="/"
cookieTimeout="30"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
createPersistentCookie="false"
cookieProtection="All">

<providers>
<clear />
<add
connectionStringName="ConnectionString"
applicationName="CaixanovaRenovacion"
writeExceptionsToEventLog="false"
name="XXX"
type="XXX.XXXRenovacionRoleProvider"
/>
</providers>
</roleManager>

<authorization>
<allow users="*"/>
</authorization>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top