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
What is the difference between portlet and servlet?
What is the procedure for initializing a servlet?
Which interface should be implemented by all servlets?
How forward () method is different from send redirect () method?
Explain request dispatcher and its methods.
What is URL Encoding?
What is lazy loading and what is Generic Servlet Class?
What are the steps involved in placing a servlet within a package?
What methodology can be followed to store more number of objects in a remote server?
Can a jsp be called using a servlet?
What is servlet container. how it works?
What’s the difference between genericservlet and httpservlet?
Why HttpServlet class is declared abstract?
What must be implemented by all servlets?
Difference between GET and POST?