Pergunta de entrevista da empresa Celtic Systems Private Limited

What is the difference between a request and a session?

Respostas da entrevista

Sigiloso

21 de mai. de 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

Sigiloso

6 de fev. de 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.