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


Please Help Members By Posting Answers For Below Questions

What is servlet container. how it works?

615


Why servlet is faster than jsp?

566


What is servlet and its types?

557


What is the main purpose of java servlets?

587


Why servlet is used as controller ? Not JSP? I want complete explation?

654






Which is the methods of generated servlet?

682


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

586


How servlets are deployed in java?

546


How do you communicate in between Applets and Servlets?

597


How will you pass values from HTML page to the servlet?

556


How do servlets work?

536


What do you mean by default initialization in java servlet?

606


Is servlet a framework?

543


How can an existing session be invalidated?

663


What are all the advantages of servlet over cgi?

608