| [心缘地方]同学录 |
| 首页 | 功能说明 | 站长通知 | 编码查看转换 | 代码下载 | 常见问题及讨论 | Python游戏编程讨论 | 《深入解析ASP核心技术》 | Python游戏编程教程 | AI图片生成 |
| 发表人 | 主题:用JavaScript写ASP时,注意Request.Form和Request.Query...变量 |
| 嘎嘎,是我 身份:admin 发帖:1456 登陆次数:3366 |
1F
http://support.microsoft.com/kb/296169/en-us =================================================== Request.Form("xx")和Request.QueryString("xx")返回的是Object,不是String。 -------------------------------------------- Microsoft Windows 2000 (Internet Information Services 5.0): Error Type: Session object, ASP 0168 (0x80004005) An intrinsic object cannot be stored within the Session object. /virdir/page.asp, line 4 ---------------------------------------------- 错误写法: <% Session("test") = Request.Form("txt"); %> 正确写法: <% Session("test") = Request.Form("txt").Item; %> |
| CopyRight © 心缘地方 2005-2999. All Rights Reserved |