Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / May 2004

Tip: Looking for answers? Try searching our database.

Create Login in asp.net using XML

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Prog-M - 27 May 2004 13:12 GMT
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
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.