1.web.config如何配置
2.程序验证用户用户帐号正确后,如何处理从而让应用程序的IsAuthenticated属性为true?

解决方案 »

  1.   

    1.web.config如何配置
    <authentication mode="Forms">
          <forms name="Admin" loginUrl="Login.aspx" protection="All" path="/"/>
    </authentication>2.程序验证用户用户帐号正确后,如何处理从而让应用程序的IsAuthenticated属性为true?
    FormsAuthentication.RedirectFromLoginPage(userId, false);
      

  2.   

    Form认证是基于cookie,如何设定认证的cookie?
      

  3.   

    这篇文章讲的很详细也比较深入。http://www.weste.net/2005/9-30/132630702.html
      

  4.   

    楼上的大侠看一下这个问题:
    http://community.csdn.net/Expert/topic/4347/4347017.xml?temp=.7012293