Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Persistence in WebParts
Message
 
À
18/08/2006 11:32:59
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Versions des environnements
Environment:
C# 2.0
Database:
MS SQL Server
Divers
Thread ID:
01146511
Message ID:
01146783
Vues:
23
Bonnie,

Can any object be stored to a Session object and retrieved back as that object:
Session["MyObject"] = myCustomObject;
CustomObject myCustomObject = (CustomObject)Session["MyObject"];
Will I have to write special serialization/decoding code to make that happen?

TIA,
Chad

>Hi Chad,
>
>I haven't done much with Web apps lately, but when I was messing around with them a couple years back, I determined that the best way to persist data was with Session objects.
>
>~~Bonnie
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform