sharepoint匿名实现的另一种方法
2010-09-27 16:16
260 查看
1. 新建一个区域 82
2. 设置MemberShipProvider
代码
2. 设置MemberShipProvider
代码
<script RunAt='server'> protected void Application_AuthenticateRequest(Object sender, EventArgs e) { string cookieName = FormsAuthentication.FormsCookieName; HttpCookie authCookie = Context.Request.Cookies[cookieName]; if (authCookie == null) { FormsAuthentication.SetAuthCookie("guest", false); } } </script>
相关文章推荐
- SQL like子句的另一种实现方法 速度比like快
- main方法中编写匿名内部类实现空字符串的去除
- 仿QQ侧滑删除的另一种实现方法
- SQL 速度比like鱼句快的另一种实现方法
- (精)1754 另一种方法实现线段树(这个里面没有用到value,但是添加了一个max)
- 委托的匿名方法简单例子(2。0实现)
- SQL like子句的另一种实现方法(速度比like快)
- OC-方法的声明和实现、匿名对象
- 利用匿名内部类实现Java接口方法
- 分别使用委托、接口、匿名方法、泛型委托实现加减乘除运算
- SQL2008报表三种实现Reporting Service2008匿名访问的方法(转)
- 另一种实现非阻塞网络通信的方法———使用libev
- jquery全选/全不选/反选另一种实现方法(配合原生js)
- 实现JNI的另一种方法:使用RegisterNatives方法传递和使用Java自定义类 (转)
- Java GUI之事件监听与处理的匿名类实现方法
- ASP.NET(c#) 日期选择控件的另一种实现方法
- AVL 另一种实现方法
- 另一种实现 Fruit Ninja 里刀光效果的方法
- js小技巧 实现字体大中小的另一种方法
- 在SharePoint中匿名读取BDC中定义的方法