Quote:
Originally Posted by Shashi Sadasivan
I havent used the .Net login control yet, but do remember playing with it.
Just a few things you may want to do
Have you set any redirect url's in it?
have you placed breakpoints to check if the redirected page kicks in?
Are there any setting to be made in the web.config file (probably forms authentication, or role based authentication)
Thanks for the reply mate. I'll take each point one by one.
1) The control should redirect to the ReturnURL querystring parameter by default shouldn't it.
2) Yep placed three key one in LoginError, LoggingIn and LoggedIn. They are called correctly depending one the details provided so this works 100%.
3) I have forms authentication as below:
<forms name="MyApp" path="/secureweb" loginUrl="login.aspx" protection="All" timeout="30" requireSSL="false" slidingExpiration="true" defaultUrl="main.aspx" domain="MyApp" cookieless="UseCookies" enableCrossAppRedirects="false"/>
I also am using a custom SqlMembershipProvider but it really just does what the stock one does currently. I will change this once I have the basics working.