ViewState Vs Session ... maintaining object through page lifecycle
- by Kyle
Can someone please explain the difference between ViewState and Session?
More specifically, I'd like to know the best way to keep an object available (continuously setting members through postbacks) throughout the lifecycle of my page.
I currently use Sessions to do this, but I'm not sure if it's the best way.
For example:
SearchObject…