How to use forms authentication without login control.I don’t want to use asp.net login control in my site.But i have to implement forms authentication and to validate users in my database.
How to use forms authentication without login control.I don’t want to use asp.net login
Share
I am assuming that instead of using a login control, you are using a few textboxes(eg username/password) and a logon button. The code could look something like this:
In your aspx file
And on server side:
The forms authentication usually consists of 2 parts:
For more info look at these articles: