Suppose I create a custom class object, and I want this object to persist throught the pages of an on-line survey. How would I go about ensuring this persistence? Can I instantiate the object in the global.aspx Sub Session_Start(Sender As Object, E As EventArgs)? Or, can I assign this custom object as a property of the Session Object?
i.e
i.e
Visual Basic:
Sub Session_Start(Sender As Object, E As EventArgs)
Dim myCustObj as MyCustomClassObject
Session("UserObject") = myCustObj
End Sub