为什么用navigateURL导航到p2.asp,在p2.asp中用request.form不能获取表单的状态
编号:QA003377
建立日期: 2000年10月6日 最后修改日期:2002年1月20日
所属类别:
qwj:
操作系统: Windows
编程工具: asp,interdev
问题: 我在p1.asp用Pageobject设计间控件的navigateURL 方法导航到另一页p2.asp,为什么在p2.asp中用request.form不能获取p1.asp表单的状态?我该怎么办?
(文档讲navigateURL, If the navigateURL method is called from client script, the form is posted to the server and a redirect occurs to the target URL. If the method is called in server script it results in a browser redirect.)
水平: 中级
回答:
navigateURL 方法是以GET方式导航到下一页的,你在p1.asp中可以得到POST数据,但不会传递到p2.asp。
Jack的意见:
用Server.Transfer P2.asp,不过须是IIS5.0。
此问题由李海回答。
| |
|
|
| |
|
|