Hi, Do you have any example for registration form and user's authentication script? It would be kind of you if you could give me a link to download such scripts...
i've another error... unrecognized configuration section membership...
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="Connection" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0"
applicationName="SampleApplication"/>
</providers>
</membership>
<system.web>
<authentication mode="Forms"/>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
<system.net>
jfr
Member
229 Points
346 Posts
registration form and user's authentication
May 01, 2012 09:12 AM|LINK
Hi, Do you have any example for registration form and user's authentication script? It would be kind of you if you could give me a link to download such scripts...
AidyF
Star
9204 Points
1570 Posts
Re: registration form and user's authentication
May 01, 2012 09:15 AM|LINK
Have a read through this, there are walkthroughs on how to do the various tasks
Introduction to Membership
DarrellNorto...
All-Star
86645 Points
9629 Posts
Moderator
MVP
Re: registration form and user's authentication
May 01, 2012 09:18 AM|LINK
Try one of these tutorials:
http://www.aspnettutorials.com/tutorials/controls/asp4-login-contrls.aspx
http://www.aspnettutorials.com/tutorials/controls/login-control-asp4.aspx
Darrell Norton's Blog
Please click "Mark as Answer" if this helped you.
jfr
Member
229 Points
346 Posts
Re: registration form and user's authentication
May 01, 2012 12:28 PM|LINK
http://www.aspnettutorials.com/tutorials/controls/asp4-login-contrls.aspx
http://www.aspnettutorials.com/tutorials/controls/login-control-asp4.aspx
I have used these links? but i'm getting "Password length minimum: 7. Non-alphanumeric characters required: 1. " every time...
nijhawan.sau...
All-Star
16400 Points
3173 Posts
Re: registration form and user's authentication
May 01, 2012 12:35 PM|LINK
You can modify these in web.config:
jfr
Member
229 Points
346 Posts
Re: registration form and user's authentication
May 01, 2012 01:02 PM|LINK
i've another error... unrecognized configuration section membership...
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="Connection" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0"
applicationName="SampleApplication"/>
</providers>
</membership>
<system.web>
<authentication mode="Forms"/>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
<system.net>
<mailSettings>
<smtp from="PWRecoveryTutorial@gmail.com">
<network host="smtp.gmail.com" password="xxxx" port="587"
userName="PWRecoveryTutorial@gmail.com" enableSsl="true" />
</smtp>
</mailSettings>
</system.net>
</configuration>
Ming Xu - MS...
All-Star
25269 Points
2235 Posts
Microsoft
Re: registration form and user's authentication
May 02, 2012 08:30 AM|LINK
Hi,
>>i've another error... unrecognized configuration section membership...
Please put the membership configuration section inside system.web to see whether it works.
Best Regards,
Ming Xu.
Feedback to us
Develop and promote your apps in Windows Store