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 |
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is the use of servlet wrapper classes?
What is the functionality of actionservlet and requestprocessor?
How we can create war file in servlet?
Explain servlet events?
What is the dispatcher servlet?
Explain the working of service() method of a servlet.
What are cookies and how will you use them?
Does servlet have main method?
Explain url encoding in servlet?
What is a servlet context?