What is the use of sessions in Django?

Answers were Sorted based on User's Feedback



What is the use of sessions in Django?..

Answer / nashiinformaticssolutions

Sessions in Django store user-specific data across requests. Django’s session system abstracts away the complexity of working with cookies directly. A session can store arbitrary data like user authentication status or shopping cart contents, and it works by setting a session ID cookie on the user's browser, which refers to the data stored on the server.

Is This Answer Correct ?    0 Yes 0 No

What is the use of sessions in Django?..

Answer / glibwaresoftsolutions

Sessions in Django store user-specific data across requests. Django’s session system abstracts away the complexity of working with cookies directly. A session can store arbitrary data like user authentication status or shopping cart contents, and it works by setting a session ID cookie on the user's browser, which refers to the data stored on the server.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is the significance of ‘self' parameter in an object method? Should we always name this parameter as ‘self'?

0 Answers  


What is end in python?

0 Answers  


What is redis python?

0 Answers  


How can you dynamically create variables in python via a while loop?

0 Answers  


How do I run notepad ++ in python?

0 Answers  






What is the output of this below query?

0 Answers  


What is typecasting in python?

0 Answers  


What is setup cfg?

0 Answers  


What is hierarchical inheritance?

0 Answers  


Is python can be compatible with command prompt?

0 Answers  


What is sorted in python?

0 Answers  


What are disadvantages of python?

0 Answers  


Categories