惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - 中国被爱可以在线

[珍藏]什么是威客,2008最新验证威客网址 给QuickWAP2.x应用CSS样式 QuickWAP各版本安装注册方式对比 关于实现QuickWAP 2.x绿色安装版的实现 QuickWAP 2.x使用IP注册实例 - 中国被爱可以在线 - 博客园 第一次使用QuickWAP 2.x QuickWAP V1.5管理员注册器开放 QuickWAP 2.x注册方法和购买注意事项 QuickWAP 2.x之英文、简繁体文章内容分页 QuickWAP2.0/2005WAP登录设计一例 WML编辑工具-BicyleWapTool V2.5 QuickWAP 2005 简易使用手册 WAP网站域名解析 QuickWAP 2005让WAP网站拥有更好的兼容性 QuickWAP 2005安装指南 QuickWAP 2005留言本一例 庆祝中国被爱可以在线下载站开通 QuickWAP 2005 简单概览 WAP中UBB标签的应用
QuickWAP2.x增加跳转函数Redirect - 中国被爱可以在线 - 博客园
中国被爱可以在线 · 2008-01-27 · via 博客园 - 中国被爱可以在线

Public Sub Redirect(Optional ByVal GoUrl As String) '2007-8-6增加。
        On Error Resume Next
        If GoUrl = "" Then
            GoUrl = WapHomePage '如果为设置跳转地址,函数将自动跳转到网站首页。
        End If
        Response.Redirect GoUrl '实现跳转。
End Sub

用法:

  QuickWAP的各种函数中没有跳转函数,其实大家很容易将ASP和QuickWAP结合起来的,以下是利用QuickWAP2.0创建的WAP框架,其中跳转语句为ASP语句。

<%
Set Wap=Server.CreateObject("QWAP.WAP20")
Wap.CardTitle="中国被爱可以在线"
Wap.PageHeader
'以下为文件正文。
Wap.WriteRow "++++++++++++++++++"
Response.Redirect "http://wap.bicyle.org"
Wap.WriteRow "++++++++++++++++++"
'以下为返回链接等信息。
Wap.WriteRow Wap.BackA("返回上页")
Wap.WriteRow Wap.ImgA("",Wap.WapPath,"返回首页")
Wap.WriteRow Wap.DoGo(Wap.WapPath, "option", "回首页")
Wap.WriteRow Wap.DoPrev("prev", "后退", "ToBack")
Wap.PageFooter
Set Wap=Nothing
%>

  QuickWAP2.x中将包含该功能的函数实现跳转,它和ASP的基本相同,只不过创建了WAP对象后,利用QuickWAP的方法进行跳转:

<%
Set Wap=Server.CreateObject("QuickWAP.WAP")
Wap.CardTitle="中国被爱可以在线"
Wap.PageHeader
'以下为文件正文。
Wap.WriteRow "++++++++++++++++++"
Wap.Redirect "http://wap.bicyle.org"
Wap.WriteRow "++++++++++++++++++"
'以下为返回链接等信息。
Wap.WriteRow Wap.BackA("返回上页")
Wap.WriteRow Wap.ImgA("",Wap.WapPath,"返回首页")
Wap.WriteRow Wap.DoGo(Wap.WapPath, "option", "回首页")
Wap.WriteRow Wap.DoPrev("prev", "后退", "ToBack")
Wap.PageFooter
Set Wap=Nothing
%>

注:WapHomePage一般取得的值为:WAP网站的首页,默认为IP或域名地址。如:http://wap.bicyle.org/ 或http://wap.bicyle.org/quickwap/ 末尾都是带"/"的。