Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

http://yourserver/folder/(S(0nbx3kusz4pfjvq0bu3ab4zo))/default.aspx

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

http://yourserver/folder/default.aspx?sessionId=0nbx3kusz4pfjvq0bu3ab4zo

Is this possible?

share|improve this question

1 Answer 1

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

 
discard

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.