怎么样,在ASP中用response.redirect这个属性调用两次

jhwcd 2003-10-20 06:04:03
怎么样,在ASP中用response.redirect这个属性调用两次,而且每次的显示页页面都是不同的!
...全文
60 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
jhwcd 2003-10-28
  • 打赏
  • 举报
回复
有哪位高手帮我一下,我这个很急的,谢谢!
jhwcd 2003-10-20
  • 打赏
  • 举报
回复
但是,改成Server.Execute"http://10.79.87.5/jt/AutoSendSm.php3?dest_tele_num="&tele&"&src_tele_num="&dest&"&msg="&msg11&""后,短信收不到,数据有了,我是想用手机发过去就收到两条信息!
jhwcd 2003-10-20
  • 打赏
  • 举报
回复
谢谢!
avonqin 2003-10-20
  • 打赏
  • 举报
回复
response.redirect"http://10.79.87.5/jt/AutoSendSm.php3?dest_tele_num="&tele&"&src_tele_num="&dest&"&msg="&msg11&""
改为:
Server.Execute"http://10.79.87.5/jt/AutoSendSm.php3?dest_tele_num="&tele&"&src_tele_num="&dest&"&msg="&msg11&""
jhwcd 2003-10-20
  • 打赏
  • 举报
回复
那位高手,能帮我看一下,非常感谢!
jhwcd 2003-10-20
  • 打赏
  • 举报
回复
比如,我是这样写的:
for i=1 to 2
if i=1 then
msg11="欢迎参加有奖问答,题:"&topic
else
msg11="您好啊!"
end if
response.redirect"http://10.79.87.5/jt/AutoSendSm.php3?dest_tele_num="&tele&"&src_tele_num="&dest&"&msg="&msg11&""
next
jhwcd 2003-10-20
  • 打赏
  • 举报
回复
我的意思就是循环两次,就调用两次啊,而且是同一个页面的但是里面的值是不用的!
Miriamy 2003-10-20
  • 打赏
  • 举报
回复
if 条件一 then
response.redirect"aa.asp"
elseif 条件二 then
response.redirect"bb.asp"
end if

Miriamy 2003-10-20
  • 打赏
  • 举报
回复
有条件吗?

if ... then
response.redirect"aa.asp"
elseif
response.redirect"bb.asp"
end if

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧