title: Top use cases for using Sessions in Java web application
body: <p>I've been always trying to avoid using Sessions. I've used spring security or other ways of having user logged in the application, which is I suppose the major use case for using Sessions.</p>
  
  <p>But what are the other use cases ?  Could you please make a list of those most important ones ? How come that I've been able to develop even complicated applications without using Sessions?</p>
  
  <p>Is it because I'm using spring-mvc and using Sessions is practically not needed except the login stuff ?</p>
  
  <p>EDIT: Guys this question was asking for use cases... Most of the answers explains what are sessions for. If we summarize some usecases, we can say for sure, when to use database or sessions for maintaining conversation state...
  Don't you remember any concrete scenarios you needed sessions for? For past years :)</p>
  
  <p>for instance some conversational state may become persistent after some point / event. In this case I'm using database from the beginning. </p>