in my asp web project . i have 3 pages named as reg.aspx,log.aspx, Default.aspx. on reg.aspx, i want user to regiester themself. on reg page, i have 2 textbox , textbox1,textbox2, and a button control button1.
for this pupose i am stroring their username and pass in web.config file. here is the my web.config code
<configuration>
<system.web>
<authentication mode="Forms">
<forms loginUrl="Log.aspx" defaultUrl="Default.aspx">
<credentials passwordFormat="MD5">
</credentials>
</forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
</system.web>
...
Go to the complete details ...