摘要: 在开发过程中,我们需要做的事情包括:1. 在 web.config 中设置 Forms 身份验证相关参数。2. 创建登录页。登录页中的操作包括:1. 验证用户名和密码是否正确。2. 创建身份验证票证对象。3. 将身份验证票证对象加密成字符串,写入 Cookies。4. 重定向到原始请求 URL。1. 简单演示web.configlogon.aspx2. Forms 验证参数如果只是某些子目录中的页... 阅读全文
posted @ 2010-08-02 22:12 xx521 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 1.下载Intelligencia.UrlRewriter.dll文件 urlrewriter.net2.添加引用3.设置Web.Config配置文件<?xml version="1.0" encoding="utf-8"?><configuration> <configSections> <section name="rewriter" requireP... 阅读全文
posted @ 2009-11-03 10:30 xx521 阅读(7053) 评论(11) 推荐(4) 编辑