Preserving variable data during postback

D

Dahab

Hi,
What is the best way to preserve variable data during postback?
Using hidden server controls is a way, but there has to be something better.


Thanks
D.
 
C

Chris Fulstow

There are loads of different techniques, it depends on your data is and
how it's going to be used. Some of the options are:

- QueryString
- Viewstate
- Session object
- Cookies collection
- Cache object
- Application object

Search Google for "asp.net state management" for more info.
 
M

Mark Rae

What is the best way to preserve variable data during postback?
Using hidden server controls is a way, but there has to be something
better.

ViewState
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top