Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session.Add
Message
De
24/07/2008 03:28:31
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01333574
Message ID:
01333652
Vues:
7
>Hi All
>
>say I have class Foo{ int i=1};
> If I save an object to the Session as in Session.Add("FOOOBJECT", foo);
>
>Does it save the pointer or the entrie object.

Hi,

Pointer (i.e. Reference). If you wanted a copy you could look at serializing it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform