Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session object
Message
De
12/08/2003 15:27:31
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00819538
Message ID:
00819555
Vues:
15
>>Note Session state is only maintained for browsers that support cookies<

Session objects can also be stored to SqlServer and I believe that in that case, it doesn't matter if you have cookie support or not.

~~Bonnie


>>Can anyone explain what the "session" object is.
>Here is microsofts overview:
>You can use the Session object to store information needed for a particular user-session. Variables stored in the Session object are not discarded when the user jumps between pages in the application; instead, these variables persist for the entire user-session.
>
>The Web server automatically creates a Session object when a Web page from the application is requested by a user who does not already have a session. The server destroys the Session object when the session expires or is abandoned.
>
>One common use for the Session object is to store user preferences. For example, if a user indicates that they prefer not to view graphics, you could store that information in the Session object. For more information on using the Session object, see Managing Sessions in the ASP Applications section.
>
>Note Session state is only maintained for browsers that support cookies
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform