Hi.
I'm trying to create a login page in asp.net using information from an
XML document. (visual basic)
I've tried Rowfilter to find a cell with the 'username' and then match
this with the 'Password' cell on the same row.... -> allow page to
redirect if these match:
If 'username' match 'password' then "redirect to next page" else
"Error message"
Does anyone know how to create this login function?
Thank you for all help.
M
Sonu Kapoor - 27 May 2004 16:37 GMT
This could look something like this:
1) Create two text fields in a form.
1.1) Textfield Username
1.2) Textfield Password
2) When user presses the login button, retrieve the values
from both fields.
3) Construct a XPath query to select the required nodes.
This could look something like this:
"/UserList/User[name='sonu' AND pw='XXXX']"
4) If nodes are returned login user, otherwise show error.
hth!
Sonu
Blog: http://weblogs.asp.net/sonukapoor/
>-----Original Message-----
>Hi.
[quoted text clipped - 15 lines]
>M
>.