How are Sessions are more advantage than using of Cookies
or URLReWriting?
Answers were Sorted based on User's Feedback
Answer / shiva
Sessions are more secure than cookies because, sessions are
stored at server side,and cookies are stored at client side.
if at all user deletes the cookies in between the process,
the information will be lost.. In URL rewriting for every
page we should carry the information, in that there may be
any secure data. so, to avoid this we need to follow the
hidden fields.. compare to all these,sessions will maintain
good security...
| Is This Answer Correct ? | 21 Yes | 4 No |
Sessions are more secure and fast than Cookies
andURLReWriting as they are stored on the server side,
| Is This Answer Correct ? | 4 Yes | 7 No |
Why don't we write a constructor in a servlet?
What must be implemented by all servlets?
Explain the jar and war files in servlet?
How to get the actual path of servlet in server?
What are the annotations used in servlet 3?
What are the servlet events?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
Explain the servlet context.
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What is lazy loading and what is Generic Servlet Class?
What if you need to span your transaction across multiple servlet invocations?
What is SingleThreadModel interface?