View State 
 | 
  
                    
  Session State 
 | 
 
It is maintained in page level
  only 
 | 
  
It is maintained in session level 
 | 
 
View state of one page is not
  visible in another page 
 | 
  
It is visible in all pages with in
  session 
 | 
 
It’s information stored in client
  only 
 | 
  
It’s information stored in server 
 | 
 
It persist the value of particular
  page in the client browser when the post back operation is occur. 
 | 
  
It persist the data of user in the
  server and data is available till the user close the browser. 
 | 
 
It is used to persist
  page-instance-specific data. 
 | 
  
It is used to persist the
  user-specific data. 
 | 
 
Wednesday, July 27, 2016
Difference between the view State and session state in Asp.Net
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment