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

Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

0 Answers  


What is pure servlet?

0 Answers  


How does tomcat servlet container work?

0 Answers  


What exactly are the functions of servlet?

0 Answers  


What is difference between Forward() and sendRedirect() methode?

14 Answers   Polaris,






What are the classes and interfaces for servlets?

4 Answers  


What is the difference between the include() and forward() methods?

0 Answers  


where the generated jsp source file are stored?

7 Answers   HCL,


What is difference between cookies and httpsession?

0 Answers  


without session Id can we do any operations like add,update,edit,delete. I saw Session id is loaded for edit and delete action not for add .so am asking this

1 Answers   Syntel,


can i call destroy() method in init() method of servlet

9 Answers   Ericsson, IBM,


What are the annotations used in servlet 3?

0 Answers  


Categories