Advantage of Cookies over URL



Question: What are the advantage of Cookies over URL rewriting?
Answer:
Sessions tracking using Cookies are more secure and fast. Session tracking using Cookies can also be used with other mechanism of Session Tracking like url rewriting.

Cookies are stored at client side so some clients may disable cookies so we may not sure that the cookies may work or not.

In urlĀ  rewriting requites large data transfer from and to the server. So, it leads to network traffic and access may be become slow.

Random Posts

  • Can we provide a constructor in the servlet class
  • Cookie Examples
  • Applet Interview Questions
  • Define Session Hijacking
  • Example of Hibernate

Post a Comment