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

Can filter be used as request or response?

0 Answers  


Is dispatcher servlet a singleton?

0 Answers  


Explain how to improve Servlet Performance?

0 Answers   BirlaSoft,


Can we write a constructor for a Servlet class ? if yes how ? if no why not ?

10 Answers  


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

0 Answers   CTS,


Why is a constructor needed in a servlet even if we use the init method?

0 Answers  


What is called Session Tracking?

0 Answers  


Difference between GET and POST?

0 Answers  


What are all the advantages of servlet over cgi?

0 Answers  


How multiple simultaneous requests can be handled by servlets?

2 Answers  


What is the major difference between servlet and applet?

0 Answers  


What is dispatcher servlet?

0 Answers  


Categories