You can use the Session object to store information needed during rendering for a particular receiver. Variables stored in the Session object are available within all content files when rendering a receiver.
Session.collection|property|method
Contents | Contains the items that you have added to the session with script commands. |
You can store values in the Session object. Information stored in the Session object is available during rendering of a particular receiver.
The following script demonstrates storage of two types of variables.
Sub Mail_OnStartRender()
Session("username") = "Michelle"
Session("age") = 22
End Sub