URL rewriting is a technique used for SEO (Search engine optimization). The Idea is so simple Instead of
Replace it with
URL rewriting so different concept from the Cookies.
Cookies is an instance of data that is stored at client side .for example may be your username and password saved within you PC using your browser ( that is may be , Mozilla ,Internet explorer, opera to avoid rewriting them each time .
You can disable the using of cookies from your browser options.
URL rewriting is another way to support anonymous session tracking. With URL rewriting, every local URL the user might click on is dynamically modified, or rewritten, to include extra information. The extra information can be in the form of extra path information, added parameters, or some custom, server-specific URL change. Due to the limited space available in rewriting a URL, the extra information is usually limited to a unique session ID.