<%@ Language=VBScript EnableSessionState=FALSE%>
[an error occurred while processing this directive]
TzSession Example - Counting
<%
' Call TzStartSession() before using TzSession and TzId.
TzStartSession()
' Load any string into the TzSession Dictionary object.
TzSession("login_id") = "Herten"
TzSession("count") = TzSession("count") + 1
' Write out any variables stored in the TzSession Dictionary object.
Response.Write(TzSession("count"))
Response.Write(" Increase Count")
Response.Write("
TzId: " & TzId)
Response.Write("
Zero Count (Link With No TzId)")
' Call if TzWriteSession() if any changes are made to the TzSession Dictionary object.
TzWriteSession()
' In a html form pass the TzId in a hidden input field:
' Response.Write("")
%>
Use the TzDumpDictionary() utility subroutine, during debugging, to print out the TzSession Dictionary object:
<% TzDumpDictionary(TzSession) %>