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 life-cycle of servlets?
Given the request path below, which are context path, servlet path and path info?
Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.
What are the advantages of servlets over traditional cgi?
What are the different ways we can maintain state between requests?
Explain the difference between generic servlet and http servlet?
How can you run a servlet program?
What are the life cycle methods of a servlet?
What is servlet mapping?
Can we define constructor in Servlet class?
Where do you define dispatcherservlet?
What is session?