Domanda

Viewstate or sessionstate? This is to save the variables to a specific user then display them on the output page. Btw, these variables will be saved on atleast 5 different pages before it's outputted, so I want to be able to store them. Thanks!

È stato utile?

Soluzione

Viewstate typically stores data for a single page. Session state stores data for a session. If you are planning (as you have said) on persisting values over a several pages I would go with session state.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top