Session is most popular state management technique in Web Application. It is user specific means every thread Session variable get created when user starts work.
Actually session uses key value pair to store data internally. We can store and display data in session variable both by key and index.

Commencement of a Session:

  • A new user requests an ASP file includes a Session_OnStart procedure.
  • A value is stored in a Session variable.
  • A user requests an ASP file uses the tag to instantiate an object with session scope.
  • Session can store any type of data because the value is of data type of object.
  • These are stored at Server side.
  • Session are secure because it is stored in binary format/encrypted form and it gets decrypted at server.
  • Session is independent for every client i.e. individually for every client.
  • There is no limitation on size or number of sessions to be used in an application.
  • A Session Ends when:

    A session ends if a user has not requested or refreshed a page in the application for a specified period. By default, this is 20 minutes.If you want to set a timeout interval that is shorter or longer than the default, use the Timeout property.




Share with your friends:

Leave a comment

Your email address will not be published. Required fields are marked. *