摘要: HttpModule必须实现System.Web.IHttpModule接口,HttpHandler和HttpHandlerFactory必须分别实现System.Web.IHttpHandler接口和System.Web.IhttpHandlerFactory接口。 <HttpModules>web.config配置文件中configuration\System.Web节中添加下列几行:<HttpModules> <add type="type" name="name" /></HttpModules> 其中type属性为HttpModul 阅读全文
posted @ 2013-01-19 12:16 snowhumen 阅读(225) 评论(0) 推荐(0)
摘要: 用P3P header解决iframe跨域访问cookie1、IE浏览器iframe跨域丢失Session问题在开发中,我们经常会遇到使用Frame来工作,而且有时是为了跟其他网站集成,应用到多域的情况下,而Iframe是不能保存Session的因 此,网上可以找到很多相关的文章,如果网站可以采用设置Web.Config中的配置: mode="StateServer"stateConnectionString="tcpip=127.0.0.1:42424"sqlConnectionString="data source=127.0.0.1;Tr 阅读全文
posted @ 2013-01-19 10:20 snowhumen 阅读(291) 评论(0) 推荐(0)