Session Handling

SilkPerformer      -       Session Tests     
     -      
     -       Back to SilkPerformer Test Site
icon last updated on 4/13/2011 12:32:30 PM


This document first checks the querystring for a variable called "SessionID". If this variable is not available, a redirection to itself follows, with a time-generated session id stored in the accordingly variable.

SessionID in Redirection

SessionID = SID10:17:21 PM

Create a new session:  session_id.asp
Reuse session: session_id.asp?Param1=Value1&SessionID=SID10:17:21 PM&Param3=Value3


SessionID in Hidden Form Fields

Name:

Hidden field SessionID =

Name field =


SessionID created by JavaScript redirection

Redirect to SessionID page using JavaScript: session_javaredir.html
            ...
            <script language="JavaScript">
              <!--
                window.location = "session_id.asp?SessionID=JavaScriptRedirect";
              // -->
            </script>
            ... 
          


Session Counter

The following sample helps to verify the WebPageBack() function.


Session in Name

The following form stores the actual session in the name of the field.