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
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
What is the procedure for initializing a servlet?
How do you run a servlet?
Why do we use sendredirect() method?
how many jsp scripting elements are there and what are those?
When servlet is loaded?
What is called a session?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
Should I override the service() method?
How can we create deadlock situation in servlet?
Is java servlet still used?
Which interface must be implemented by all servlets?
What is servlet container. how it works?
How can we refresh automatically when new data is entered into the database?
Which event is fired at the time of project deployment and undeployment?