Chinaunix

标题: parent.location.reload()IE可以,而firefox 不正常 [打印本页]

作者: honggaoyan    时间: 2007-12-10 16:12
标题: parent.location.reload()IE可以,而firefox 不正常
if (!CGI_FileName.empty())
        {     
                 DeleteFileRule((char *) CGI_FileName.c_str());
         }
cout<<"<html><head></head>"<<endl;
cout<<"<body onload=\"parent.location.reload()\">"<<endl;
cout<<"</body>"<<endl;
cout<<"</html>"<<endl;



firefox 弹出框框显示:“要查看的页面含有过期数据,如果重新发送数据,
表单引发的任何动作(例如搜索或者在线购买)将会重复一遍。重新发送请点击确定,否则点击取消”。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2