由于A服务器里面是PHP项目不支持。net
在A服务器里面建立了index.html页面
<iframe src="www.aaaaa/index.aspx/" width="100%" height="943px" frameborder="0" scrolling="no">
index.aspx是B服务器里面的项目
index.aspx里面需要传参数 index_2.aspx页面接收不到index.aspx传过来的参数
使用Session 和cookie在IE和苹果里面接收不到报错:Object reference not set to an instance of an object. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.]
   acti_index.sub_vcode_Click(Object sender, EventArgs e) +602
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
 
其他浏览器正常。IE设置隐私拉下可以。问题是不可能让每个用户去啦吧。
在网上也看了好几种方法解决不了。求大神指点
HttpContext.Current.Response.AddHeader("p3p", "CP=\""IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""")
Response.AddHeader("P3P", "CP=CAO PSA OUR");多加在B服务页面里面没用