Session tracking is a mechanism used to allocate requests to a session.URL rewriting and cookies are commonly used for session tracking.URL rewriting transmits session-relevant data through parameters in a URL.URL rewriting can become messy and error-prone, especially for complex web applications.