How are Sessions are more advantage than using of Cookies
or URLReWriting?

Answers were Sorted based on User's Feedback



How are Sessions are more advantage than using of Cookies or URLReWriting?..

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

How are Sessions are more advantage than using of Cookies or URLReWriting?..

Answer / niranjanravi

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

Post New Answer

More Servlets Interview Questions

What are the types of an http request?

0 Answers  


we cant Override Jsp Service method?Why?

4 Answers   Infrasoft, Mind Tree,


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

0 Answers  


What is the default HttpRequest method?

6 Answers  


Is servlet thread safe?

0 Answers  






Why is httpservlet declared abstract?

0 Answers  


where the session data will stored?

4 Answers  


what is the difference b/w DispatchAction and LookUpDispatchAction?

1 Answers   Deloitte, iGate, Tech Mahindra,


if we know the any consultancies, it will place in company work through consultancy(contract base). please help me I'm 2008 pass out java candidate...

1 Answers  


What are some advantages of storing session state in cookies?

0 Answers  


My Question is that i am using <image> tag in my servlet and after compilation after that calling by url in my browser then images are not showing. Sometime images are showing and sometime is not showing. I am using Tomcat to run my servlets. Tell me if there any specification for image in servlets or what is solution for this ??

2 Answers  


What is a web container and what is its responsibility?

0 Answers  


Categories