Session Management Flashcards
What exactly is a session ?
Session is user interaction which happens with a website over a period of time.Its interaction
which happens right when browser opens and browser closes.
Explain “HTTP is a stateless protocol” ?
What are various way of doing session management ?
Are sessions enabled by default ?
How to enable sessions in MVC core ?
Are sessions variables shared(global) between users ?
Do session variables use cookies ?
What is a cookie ?
Explain idle time out in sessions ?
What does a Context means in HTTP ?
When should we use viewdata ?
To pass data from controller to view.
How to pass data from controller to view ?
In same request can viewdata persist across actions ?
ViewBag vs ViewData ?
ViewBag is syntatic sugar over viewdata.
How does ViewBag work internally ?