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

Difference between get and post in java servlets?

0 Answers  


How do you deal property files in servlet?

0 Answers  


What do you mean by url pattern in servlet?

0 Answers  


How can a servlet be used to generate plain text instead of html?

0 Answers  


Can a jsp be called using a servlet?

0 Answers  






In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

0 Answers  


Why servlet is mostly used?

0 Answers  


How do you run a servlet?

0 Answers  


Why is init() method is used in servlets?

0 Answers  


How do you get the ip address of the client in servlet?

0 Answers  


how can you give alias to servlets?

1 Answers  


What are the parameters of the service method ?

2 Answers  


Categories