<%
' 05/02/98
' Added The following features:
' Page expiry time
'-the page would expire when downloaded by browser so this user is insured to all data
' would be current.
Response.Expires = 0
%>
<%
' 05/02/98
' Added The following features:
' Tab Query String Parameter
'-This is the selected tab ' s Tabarray index value.
' Page expiry time
'-the page would expire when downloaded by browser so this user is insured to all data
' would be current.
Response.Expires = 0
On Error Resume Next
QS = Request.QueryString
If QS <> "" Then
QS = "&" & QS
Else
' Need to make ' is for backward compatibility. The Users may is referencing htmstart.asp in their web pages.
Call Initializeframearray
End If
Dim Tmparray
Dim index
Dim Brch
Dim val
If Request.QueryString ("tab") <> "then
Tmparray = Session ("Tabarray")
index = Cint (Request.QueryString ("tab"))
If Tmparray (index + 1) <> "" Then
Brch = Tmparray (index + 1)
QS = "&" & "Brch=" & Brch
End If
Session ("Currentpagenumber") = Tmparray (index + 2)
Session ("lastknownpage") = Tmparray (index + 3)
Session ("Lastpagenumber") = Tmparray (index + 4)
' Clear out all of the ' the other arrays
If index = 0 Then
Call Initializeframearray
Else
ReDim Preserve Tmparray (Index-1)
Session ("Tabarray") = Tmparray
End If
Else
Session ("Currentpagenumber") = "1"
Session ("lastknownpage") = "0"
Session ("Lastpagenumber") = ""
End If
' This function initializes the Tabarray.
SUB Initializeframearray ()
' Initialize the Html_frame array
Set session ("Tabarray") = Nothing
Session ("Lastbrch") = ""
Dim Tmparray
Tmparray = Array (4)
ReDim Tmparray (4)
' Initialize the sequence number
Tmparray (0) = "EMPTY"
Session ("Tabarray") = Tmparray
End SUB
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service