|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
减少客户内IT专业人才缺乏带来的影响。ASP的客户员工利用浏览器进入相关的应用软件,简单易用,无需专业技术支持。framepage.asp
<%
05/02/98
Addedthefollowingfeatures:
PageExpiryTime
-Thepagewillexpirewhendownloadedbybrowsersothatuserisinsuredthatalldata
willbecurrent.
Response.Expires=0
%>
<html>
<title></title>
<%
qs=request.querystring
ifqs""then
qs="&"&qs
endif
%>
<framesetrows="59,*">
<framemarginheight=0marginwidth=0noresizescrolling=noname="CrystalViewerToolbar"src="toolbar.asp?<%response.writerequest.querystring%>">
<framename="CrystalViewerPreview"src="rptserver.asp?cmd=get_pg&viewer=html_frame&vfmt=html_frame&page=<%response.writesession("CurrentPageNumber")%><%response.writeqs%>">
</frameset>
</html>
htmstart.asp
<%
05/02/98
Addedthefollowingfeatures:
TabQueryStringParameter
-ThisistheselectedtabstabArrayindexvalue.
PageExpiryTime
-Thepagewillexpirewhendownloadedbybrowsersothatuserisinsuredthatalldata
willbecurrent.
Response.Expires=0
OnErrorResumeNext
qs=request.querystring
ifqs""then
qs="&"&qs
else
Needtomakethiscallforbackwardcompatibility.Usersmaybereferencinghtmstart.aspintheirwebpages.
CallInitializeFrameArray
endif
dimtmpArray
dimindex
dimbrch
dimval
ifrequest.querystring("TAB")""then
tmpArray=session("tabArray")
index=Cint(request.querystring("TAB"))
iftmpArray(index+1)""then
brch=tmpArray(index+1)
qs="&"&"BRCH="&brch
endif
session("CurrentPageNumber")=tmpArray(index+2)
session("lastknownpage")=tmpArray(index+3)
session("LastPageNumber")=tmpArray(index+4)
clearoutalloftheotherarrays
ifindex=0then
CallInitializeFrameArray
else
redimpreservetmpArray(index-1)
session("tabArray")=tmpArray
endif
else
session("CurrentPageNumber")="1"
session("lastknownpage")="0"
session("LastPageNumber")=""
endif
ThisfunctioninitializesthetabArray.
SUBInitializeFrameArray()
initializethehtml_framearray
setsession("tabArray")=Nothing
session("lastBrch")=""
dimtmpArray
tmpArray=Array(4)
redimtmpArray(4)
Initializethesequencenumber
tmpArray(0)="EMPTY"
session("tabArray")=tmpArray
ENDSUB
%>
<html>
<title></title>
<framesetcols="15%,*">
<framename="CrystalViewerTree"src="rptserver.asp?cmd=get_ttl&viewer=html%5Fframe&vfmt=html_frame<%response.writeqs%>">
<framename="CrystalViewerPageFrame"src="rptserver.asp?cmd=toolbar_page&viewer=html%5Fframe&vfmt=html_frame&page=<%response.writesession("CurrentPageNumber")%><%response.writeqs%>">
</frameset>
</html>
JavaPluginViewer.asp
<html>
<head>
<title>SeagateJavaViewerusingJavaPlug-in</title>
</head>
<bodybgcolor=C6C6C6>
<Palign="center">
<object
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width=100%
height=100%
codebase="/viewer/JavaPlugin/Win32/jre1_2_2-win.exe#Version=1,2,2,0">
<paramname=typevalue="application/x-java-applet;version=1.2.2">
<paramname=codevalue="com.seagatesoftware.img.ReportViewer.ReportViewer">
<paramname=codebasevalue="/viewer/javaviewer/">
<paramname=archivevalue="ReportViewer.jar">
<paramname=Languagevalue="en">
<paramname=ReportNamevalue="rptserver.asp">
ActiveServerPage技术为应用开发商提供了基于脚本的直观、快速、高效的应用开发手段,极大地提高了开发的效果。在讨论ASP的安全性问题之前,让我们来看看ASP是怎么工作的。 |
|