Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When IIS (7.5) is set to store the session-id cookieless, it stores it in the middle of the url like this:


Is it possible to change this behaviour so that the session ID is stored as an url parameter? It should look like this:


Is this possible?

share|improve this question
up vote 1 down vote accepted

Short Answer: No

Long Answer:

It is theoretically possible to change how ASP.NET cookieless support works but you would end up requiring a new bunch of new HTTP modules and have to handle response URL rewriting. All in all not pretty. All in all you would end up recreating the session mechanism if you wanted to override the built-in provider.

BTW: StackOverflow has the same question.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.