与asp.net的XML连接 [英] XML connection to asp.net

查看:50
本文介绍了与asp.net的XML连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

他!
我试图做xml数据库和asp.net之间的连接.我想做一个简单的登录表单用户名和密码,如果lo-gin成功,则将字段与xml db文件匹配,并将页面重定向到另一页....请plz帮助我执行此操作....

[edit]已删除呼喊"-OriginalGriff [/edit]

He!
I am try to do the connection between xml database and asp.net. I want to do the one simple log in form username and password, that match field with xml db file and page redirect to another page if lo-gin successfully .... so plz help me to do this ....

[edit]SHOUTING removed - OriginalGriff[/edit]

推荐答案

就个人而言,我建议您更仔细地研究要执行的任务. 创建登录页面并检查名称和密码"要复杂一点.为了进行这项工作,您需要:
1)登录页面
2)注册页面
3)更改密码页面
4)忘记密码"机制
5)防止用户除非已登录就无法访问页面的系统
6)重定向系统

为什么要重新发明轮子?使用标准成员资格系统,该系统将为您提供所有困难之处:成员资格简介 [ ^ ]如果必须使用XML数据库(而且我不建议这样做),实现与会员系统无缝协作的自定义会员提供程序的工作量不大.
Personally, I would recommend that you look a little more closely at the task you are trying to do. It is a bit more complex that "create a login page and check the name and password". In order to have this work you will need:
1) a login page
2) a registration page
3) a change password page
4) a "forgot my password" mechanism
5) a system of preventing users from accessing pages unless they are logged in
6) a redirection system

Why re-invent the wheel? Use the standard Membership system, which will provide all the difficult bits for you: Introduction to Membership[^] If you must use an XML database (and I seriously wouldn''t recommend that) then it is not a lot of work to implement a custom Membership provider that works seamlessly with the Membership system.


这篇关于与asp.net的XML连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆