Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page Load
Message
De
22/05/2004 15:23:07
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00906068
Message ID:
00906247
Vues:
29
Chris,

Using viewstate sends all of the viewstate objects' data to the browser on each postback. Using sessionstate keeps the data on the server.

This can have a large impact on speed.

>I wonder if it would be better to use ViewState in this situation. I am not sure, but I thought it was better to use Session when moving to a different page, and ViewState for postbacks. I am not really sure there is any difference.
>
>>Valentin,
>>I set a session variable to tell me such things
>>something like this...
>>
>>Private sub myRoutine()
>>   Session("CalledFrom_myRoutine")=True
>>   ...other code for this routine...
>>endsub
>>
>>
>>
>>hth,
>>Rick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform