WCF, ASP.NET Membership Provider and Authentication Service

后端 未结 6 1771
长发绾君心
长发绾君心 2020-12-23 18:27

I have written a Silverlight 2 application communicating with a WCF service (BasicHttpBinding). The site hosting the Silverlight content is protected using a ASP.NET Members

6条回答
  •  自闭症患者
    2020-12-23 18:34

    On the client modify your tag for the service (inside ) to include: allowCookies="true"

    The app should now persist the cookie and use it. You'll note that IsLoggedIn now returns true after you log in -- it returns false if you're not allowing cookies.

提交回复
热议问题