What are the advantages of using session?

Asked 15-Nov-2017
Viewed 329 times


What are the advantages of using session?

1 Answer


There are many advantages of using session in our program, are as follows-
  • It is easy to implement and is just similar to using view state.
  • It stores user states and data to all over the application.
  • Accessing of data is very fast as it stores session data in memory object of the current application domain. 
  • It works in the multi-process configuration, thus ensures platform scalability.
  • Easy mechanism to implement and we can store any kind of object. 
  • Session is secure and transparent from user because session object is stored on the server.