How are Sessions are more advantage than using of Cookies
or URLReWriting?
Answer Posted / 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 |
Post New Answer View All Answers
Differentiate between get and post?
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
What is URL Encoding?
What is called servlet container?
What if we pass negative value in load-on-startup?
How many objects of a servlet is created?
What are the advantages of cookies?
Explain is servlet mapping?
What is the difference in between the httpservlet and generic servlet?
How can we create deadlock situation in servlet?
What is servlet and its advantages?
Why do we need a constructor in a servlet if we use the init method?
How do you create a cookie using servlet?
What do you mean by default initialization in java servlet?
What if you need to span your transaction across multiple servlet invocations?