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

How can we create deadlock situation in servlet?

832


What is the use of httpservletrequestwrapper?

586


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

596


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2077


What is life cycle of Servlet?

602






Tell us something about servletconfig interface.

577


What is a generic servlet?

516


Can filter be used as request or response?

540


What is a servlet context object?

617


What is servlet interface?

694


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1737


If a servlet is not properly initialized, what exception may be thrown?

622


What are the steps involved in placing a servlet within a package?

581


Which event is fired at the time of setting, getting or removing attribute from application scope?

605


What is cookie in servlet?

591