IIS7.5下对Webservice的Form验证和Session不支持?
以前在win2003上IIS6.0下跑的C# .Net2.0写的Web服务,Form验证和Session均可正常支持,现在迁移到Win2008 R2 x64上IIS7.5下,不论是经典模式还是集成模式,在代码中调用SetAuthCookie后,IsAuthenticated仍为False,Session设置后当时有效,但第二次调用变为null。同时,测试了IIS7.5下的aspx项目(非Web服务的Asp.net应用程序),Form验证和Session均有效,验证后IsAuthenticated为True。难道IIS7.5对Web服务的Form验证和Session不支持?