Hi,
What's the best way to store complex data structures in the session object? I have a data stucture that I use for Orders (e.g. CustomerID, Name, Address etc.) that I want to store between pages on my site. Up to now I've been storing each variable in the session separately, e.g.
Code:
Session("CustomerID") = Me.CustomerID.Text
Session("Name") = Me.Name.Text
Session("Address") = Me.Name.Text
Etc.
But this is getting kind of tiresome. Is there some easy way to store an instance of a data structure in the session, say some .toXML method as there is with datasets? Thanks.
Aaron