This page demontrates how to pass managed session items to a non-managed classic app (Promise).
Only session variables with a prefix of "PAMMIS-" will be bridged. A http module named
"PromiseSessionBridgeModule" has been created and implemented into the .Net request
pipeline. This http module is responsible for placing any session variable starting with
the prefix above into the request header collection. The requested classic ASP page can then
parse them from the request headers and place them into the local non-managed session.
This process creates the following session variables:
- PAMMIS-01 - Logged in User Locale
- PAMMIS-02 - Logged in User Session Timeout
- PAMMIS-03 - Logged in User Roles
- PAMMIS-04 - Logged in User Id
- PAMMIS-10 - Provider User Id
- PAMMIS-11 - Provider KeyLocker (Xml string, no namepsaces)
- PAMMIS-12 - Provider First Name
- PAMMIS-13 - Provider Last Name
- PAMMIS-14 - Provider Display Name
- PAMMIS-15 - Provider Email Address
- PAMMIS-16 - Provider Phone Number
- PAMMIS-20 - Billing Agent User Id
- PAMMIS-21 - Billing Agent KeyLocker (Xml string, no namepsaces)
- PAMMIS-22 - Billing Agent First Name
- PAMMIS-23 - Billing Agent Last Name
- PAMMIS-24 - Billing Agent Display Name
- PAMMIS-25 - Billing Agent Email Address
- PAMMIS-26 - Billing Agent Phone Number
- PAMMIS-30 - Delegate (Alternate) User Id
- PAMMIS-31 - Delegate (Alternate) KeyLocker (Xml string, no namepsaces)
- PAMMIS-32 - Delegate (Alternate) First Name
- PAMMIS-33 - Delegate (Alternate) Last Name
- PAMMIS-34 - Delegate (Alternate) Display Name
- PAMMIS-35 - Delegate (Alternate) Email Address
- PAMMIS-36 - Delegate (Alternate) Phone Number
Clicking the Promise link below will redirect to a classic ASP page that will
add the session variables to the non-managed session and dump the contents of the session and
request header collections.
Note: You must be logged in before hitting the Promise link or you will be
redirected to the provider login page.
Promise