FormsAuthentication.Authenticate

G

Guest

FormsAuthentication.Authenticate(txtUser.Text, txtPassword.Text)

I understand that you pass the parameters into this method and they are
checked against the credentials in the config file. However, how would you
check these against details held in an xml file? Is there a way of telling
the <authentication> element to validate against records in a file, or is it
a case of me doing that in code?
 
R

Rohit Kukreti

You need toi add custom code for checking it agains the xml.
FormsAuthentication.Authenticate checks against the userlist found in
<credentials> tag.

Regards,
Rohit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top