%@ LANGUAGE = VBScript %>
<% Option Explicit %>
<%
'Ensure that this page is not cached.
Response.Expires = 0
%>
Using Session Variables
Using Session Variables
<%
'If this is the first time a user has visited
'the page, initialize Session Value.
If (Session("SessionCountVB") = "") Then
Session("SessionCountVB") = 0
End If
'Increment the Session PageCount by one.
'Note that this PageCount value is only
'for this user's individual session.
Session("SessionCountVB") = Session("SessionCountVB") + 1
%>
You have personally visited this page
<%= Session("SessionCountVB") %> times!
Click here to visit it again