因业务关系,公司在开发一个在线业务平台的时候,流程如下:
1、用户在我们的网站提交请求
2、将请求保存到数据库
3、将请求发送到第三方平台处理
4、第三方平台处理完成后,返回我们指定的网页
5、根据返回结果和开始时候保存的请求,进行处理,并跳转到不同的结果处理页面在这过程中,执行到第四步的时候,还是正常的,包括取得的返回参数,都是正确无误的。但执行到第五步的时候,IE里面显示的是白屏,但察看HTML源文件,发现里面其实已经跳转到我要跳转的页面,并且所有HTML源文件都是对的。保存在本地再打开,图片和文字就显示很正常。IE浏览器的地址栏显示的是第三方的网址。根据第三方的要求,在aspx文件里加入<meta name="***">之后,有一个跳转页面显示正常,但其他几个还是不行,请高手指教。谢谢!
1、用户在我们的网站提交请求
2、将请求保存到数据库
3、将请求发送到第三方平台处理
4、第三方平台处理完成后,返回我们指定的网页
5、根据返回结果和开始时候保存的请求,进行处理,并跳转到不同的结果处理页面在这过程中,执行到第四步的时候,还是正常的,包括取得的返回参数,都是正确无误的。但执行到第五步的时候,IE里面显示的是白屏,但察看HTML源文件,发现里面其实已经跳转到我要跳转的页面,并且所有HTML源文件都是对的。保存在本地再打开,图片和文字就显示很正常。IE浏览器的地址栏显示的是第三方的网址。根据第三方的要求,在aspx文件里加入<meta name="***">之后,有一个跳转页面显示正常,但其他几个还是不行,请高手指教。谢谢!
证实参数是正确传入了
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<title>充值</title><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
<meta name="CMBNETPAYMENT" content="China Merchants Bank">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!-- InstanceBeginEditable name="doctitle" -->
<!-- InstanceEndEditable -->
<style type="text/css">BODY { BACKGROUND-IMAGE: url(http://pay.TestSourceCode.com/web/images/bg.gif); MARGIN: 0px }
.style3 { FONT-SIZE: 12px; COLOR: #000000 }
</style>
<LINK href="http://pay.TestSourceCode.com/web/css/hxstyle.css" type="text/css" rel="stylesheet">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">.style27 { FONT-WEIGHT: bold }
.style28 { COLOR: #339900 }
.style29 { COLOR: #ff3300 }
</style>
<!-- InstanceEndEditable -->
<form name="Form1" method="post" action="Card_RechargeFinish_CMB.aspx?Success=Y" id="Form1">
<input type="hidden" name="__VIEWSTATE" value="dDw5MjMzODA0MjI7dDw7bDxpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8cDxwPGw8VGV4dDs+O2w85YWF5YC86L+H56iL6aG65Yip5a6M5oiQ44CC5oKo6I635b6X55qE56S85ZOB5pivOizmlbDph4/kuLo6MDs+Pjs+Ozs+Oz4+Oz4+Oz7y2GspDYlDoLFCAAttqm12itXkLA==" />
<body onload="MM_preloadImages('http://pay.TestSourceCode.com/web/images/index1-06.gif','http://pay.TestSourceCode.com/web/images/index1-07.gif','http://pay.TestSourceCode.com/web/images/index1-08.gif','http://pay.TestSourceCode.com/web/images/index1-09.gif','http://pay.TestSourceCode.com/web/images/index1-10.gif','http://pay.TestSourceCode.com/web/images/index1-11.gif')">
<table cellSpacing="0" cellPadding="0" width="776" align="center" border="0">
<tr>
<td><IMG height="24" alt="" src="http://pay.TestSourceCode.com/web/images/index-03.gif" width="776"></td>
</tr>
<tr>
<td><IMG height="141" alt="" src="http://pay.TestSourceCode.com/web/images/index-05.gif" width="776"></td>
</tr>
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="776" border="0">
<tr>
<td vAlign="top" align="left" width="86" background="http://pay.TestSourceCode.com/web/images/index-81.gif"><IMG height="541" alt="" src="http://pay.TestSourceCode.com/web/images/index-06.gif" width="86"></td>
<td vAlign="top" align="left">
<table cellSpacing="0" cellPadding="0" width="678" border="0">
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="678" border="0">
<tr>
<td width="138"><A onmouseover="MM_swapImage('Image1','','http://pay.TestSourceCode.com/web/images/topa-03.gif',1)"
onmouseout="MM_swapImgRestore()" href="http://pay.TestSourceCode.com/web/CardSystem/Card_Recharge.aspx"><IMG id="Image1" height="38" src="http://pay.TestSourceCode.com/web/images/top-03.gif" width="100"
border="0" name="Image1"></A></td>
<td width="96"><A onmouseover="MM_swapImage('Image2','','http://pay.TestSourceCode.com/web/images/topa-04.gif',1)"
onmouseout="MM_swapImgRestore()" href="http://pay.TestSourceCode.com/web/index.htm"><IMG id="Image2" height="38" src="http://pay.TestSourceCode.com/web/images/top-04.gif" width="91"
border="0" name="Image2"></A></td>
<td><a href="http://pay.TestSourceCode.com/web/CardSystem/zhuanqu_introduce.htm" onMouseOver="MM_swapImage('Image3','','http://pay.TestSourceCode.com/web/images/topa-05.gif',1)"
onMouseOut="MM_swapImgRestore()"><IMG id="Image3" height="38" src="http://pay.TestSourceCode.com/web/images/top-05.gif" width="91"
border="0" name="Image3"></a></td>
<td><A onmouseover="MM_swapImage('Image4','','http://pay.TestSourceCode.com/web/images/topa-06.gif',1)"
onmouseout="MM_swapImgRestore()" href="http://pay.TestSourceCode.com/web/CardSystem/QueryType.htm"><IMG id="Image4" height="38" src="http://pay.TestSourceCode.com/web/images/top-06.gif" width="93"
border="0" name="Image4"></A></td>
<td><A onmouseover="MM_swapImage('Image5','','http://pay.TestSourceCode.com/web/images/topa-07.gif',1)"
onmouseout="MM_swapImgRestore()" href="http://pay.TestSourceCode.com/web/payhelp.htm"><IMG id="Image5" height="38" src="http://pay.TestSourceCode.com/web/images/top-07.gif" width="94"
border="0" name="Image5"></A></td>
<td><A onmouseover="MM_swapImage('Image6','','http://pay.TestSourceCode.com/web/images/topa-08.gif',1)"
onmouseout="MM_swapImgRestore()" href="javascript:;"><IMG id="Image6" height="38" src="http://pay.TestSourceCode.com/web/images/top-08.gif" width="112"
border="0" name="Image6"></A></td>
<td><a onmouseover="MM_swapImage('Image7','','http://pay.TestSourceCode.com/web/images/topa-09.gif',1)"
onmouseout="MM_swapImgRestore()" href="http://www.TestSourceCode.com"><IMG id="Image7" height="38" src="http://pay.TestSourceCode.com/web/images/top-09.gif" width="97"
border="0" name="Image7"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="678" border="0">
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="678" border="0">
<tr>
<td width="11"><IMG height="11" alt="" src="http://pay.TestSourceCode.com/web/images/index-15.gif" width="11"></td>
<td background="http://pay.TestSourceCode.com/web/images/index-16.gif"><IMG height="11" alt="" src="http://pay.TestSourceCode.com/web/images/index-16.gif" width="3"></td>
<td width="10"><IMG height="11" alt="" src="http://pay.TestSourceCode.com/web/images/index-18.gif" width="10"></td>
</tr>
</table>
</td>
</tr>