1.0 1.1 session http://jakarta.apache.org/taglibs/session-1.0 The SESSION JSP tag library provides tags for reading or modifying client HttpSession information. A servlet container uses an HttpSession to store information about a clients session on the server. By default a JSP page will create a session for a user. The user is tied to the session using either a Cookie or by using URL rewriting. This is how you can tie information to a user between multiple HTTP requests to your server. Session Attributes are what makes it possible to store information about a clients session between multiple HTTP requests. A session attribute consists of a name and value. To save information about a users session on your server use the setAttribute tag. The session attributes you save only exist while the sessions exists. Servlet containers will expire a users session and remove it after the user has been inactive for a period of time. Many servlet containers default to 30 minutes. You can change this by using the maxInactiveInterval tag. A typical example of this is a shopping cart application where you use the session to track what items the user wants to purchase. Each time a user selects an item to purchase you set a session attribute which contains information about the item. Then when the user later checks out, you can determine what items they want to purchase by looking at the session attributes. session org.apache.taglibs.session.SessionTag org.apache.taglibs.session.SessionTEI empty id yes no isNew org.apache.taglibs.session.IsNewTag JSP value no no invalidate org.apache.taglibs.session.InvalidateTag empty maxInactiveInterval org.apache.taglibs.session.MaxInactiveIntervalTag JSP attribute org.apache.taglibs.session.AttributeTag empty name yes no attributes org.apache.taglibs.session.AttributesTag org.apache.taglibs.session.AttributesTEI JSP id yes no equalsAttribute org.apache.taglibs.session.EqualsAttributeTag JSP name yes no value no no match yes no ignoreCase no no existsAttribute org.apache.taglibs.session.ExistsAttributeTag JSP name yes no value no no removeAttribute org.apache.taglibs.session.RemoveAttributeTag empty name yes no setAttribute org.apache.taglibs.session.SetAttributeTag JSP name yes no