Define Session



Question: What is a Session?
Answer:
A Session refers to all the request that a single client makes to a server. A session is specific to the user and for each user a new session is created to track all the request from that user. Every user has a separate session and separate session variable is associated with that session. In case of web applications the default time-out value for session variable is 20 minutes, which can be changed as per the requirement.

For Examples of Session: ClickHere

Random Posts

  • Providing current date and time using Stateless session bean
  • Write a note on EJB frame work
  • Dynamic and Static Web Page
  • Basic Java Interview Question
  • Define HttpSession Class

Post a Comment