Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out-of-Proc Session management with SQLServer
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Out-of-Proc Session management with SQLServer
Divers
Thread ID:
00899601
Message ID:
00899601
Vues:
48
To scale a web application to run in a web farm environment, one option to managing sessions is through SQLServer. However, if a you try to store a dataset to a session, an error results "Object must be serializable..." Ironically, the MS docs indicate that the dataset is serializable. Yet ASP.NET thinks otherwise.

Has anyone figured out how to store a dataset in an out-of-proc session using SQLServer.

This should work but does not:
Dim ds As DataSet = MyBizObject.GetByID(myID)
Session("myDataSet") = ds
Thanks!

Regards,
Carl.
Carl Olson, Jr.
CEO, Founder
Cerelogic, Inc.

www.cerelogic.com

"Applying rocket science to business."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform