How are Sessions are more advantage than using of Cookies
or URLReWriting?
Answer Posted / 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 |
Post New Answer View All Answers
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What is a servlet context?
Explain the servlet filter.
What is lazy loading and what is Generic Servlet Class?
What is servlet container. how it works?
What is difference between server and servlet?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What is servlet used for?
Define declaration.
What is the importance of init() method in Servlet ?
Why servlet is mostly used?
What is the dispatcher servlet?
What is servlet collaboration?
If a servlet is not properly initialized, what exception may be thrown?
What are all the advantages of servlet over cgi?