FormsAuthentication.Authenticate

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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

Back
Top