You can use the Session object to store information needed for a particular user session . Variables stored in the Session object are not discarded when the user jumps between pages in the application; instead, these variables persist for the entire user session.