Unlike cookies, Session (session) data is stored on the server. The session is the interval at which the client logs on to the server and logs out the server . The data that is required to be saved in the session is stored in a temporary directory on the server.