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 is the difference between doGet and doPost?

9 Answers   iGate,


Tell us something about servletcontext interface.

1 Answers  


Explain the methods of request dispatcher in servlet?

1 Answers  


Explain their methods? Tell me their parameter names also have you used threads in servlet?

1 Answers  


What are the two important api's in for servlets?

1 Answers  


Can you call a jsp from the servlet?

1 Answers  


What is servletconfig?

1 Answers  


Whats the advantages using servlets over using CGI?

1 Answers  


how to make the IP address to .com

1 Answers   iGate,


What is the procedure for initializing a servlet?

1 Answers  


How the JSP file will be executed on the Server side?

1 Answers   Cap Gemini,


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,


Categories