employer cover photo
employer logo
employer logo

Celtic Systems Private Limited

Engaged employer

Celtic Systems Private Limited interview question

What is the difference between a request and a session?

Interview Answers

Anonymous

21 May 2014

The difference is mainly about scope. Data sent in a request has a scope only through that particular request (single request), while, data in a session has the scope throughout the session (multiple requests & till the session gets destroyed).

3

Anonymous

6 Feb 2023

The Request object is used to store information about a specific request, while the Session object is used to store information about a user's interaction with the application across multiple requests.