Session is an object of method maintaining state which is act of preserving the information from one page to another page. we can manage sessions in two ways using cookies using URL rewriting :Since HTTP is a stateless protocol, we can not predict the user and in every time when the request is coming we can not identify weather it came from same person or new. So, the object used to store the user information and other information relating to each request is called session.
Category:Servlet Interview Questions
No comments:
Post a Comment