Difference between ViewState and SessionState

By Super Man

The basic difference between ViewState and SessionState

ViewState stores the values  of controls of Particular page in the client when postback completes.

when user requests another page previous page data will be no longer available.

SessionState stores the data of particular use in the server

The data will be no longer available if user close the browser or session time out occurs..

Difference between ViewState and SessionState  (1358 Views)