473,321 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Problem with Login Control and Custom Membership provider

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 <authenticationsection 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>
Jan 22 '07 #1
1 3587
Hello:

Got it working yet, thanks !!!
Jan 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the...
3
by: ad | last post by:
I have create a custom membership provider. The common usage of custom membership is set it as default Membership Provider win web.config, and use login controls with it. How can I use custom...
1
by: ad | last post by:
I have created a custom Membership Provider, and set it as default membership provider in web.config. I have also set deny users ="?" in web.config. When I use a login control with it, it work...
4
by: Steven Nagy | last post by:
Hidey ho, C#, ASP.NET, VS2005, SQL Server 2005 Developer I've used aspnet_regsql to install the membership/role tables into my application database. I have confirmed that all the tables are...
0
by: asnowfall | last post by:
After logging in, I am not able to redirect to the target url; and this happens only when I connect to the website using "http://machine- name:portname"; but not if I connect using either...
0
by: askcoffman | last post by:
I have a login control that is used as a template for all of my websites. I am trying to integrate my Custom Membership provider, but cannot create a provider object to access the functions,...
2
by: antonyliu2002 | last post by:
I am testing ASP.NET 2.0 Forms athentication with user credentials in SQL Server 2005. I don't want to put user credentials in web.config, so the credentials section is commented out. The...
2
by: GaryDean | last post by:
My ASP.Net application, that uses the SQL Membership Provider, runs fine on my development box (server2003) as long as I use the standard provider. But, in anticipation of deployment to other...
1
by: Erik | last post by:
Hi Everyone, Hopefully this is an easy one. I've googled around for the answer but cant find it. I have simple login page that authenticates via a web service. I am using a custom membership...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.