Jonas Sourlier
Jonas Sourlier

Reputation: 14465

IIS Express redirects to URL with some kind of session ID

Normally when I start my application, a browser window is opened with the URL

http://localhost:12345/

Since some change in some configuration, this gets redirected to

http://localhost:12345/(S(presumablySomeBase64EncodedValue))

Then, all the relative links like home/index become

http://localhost:12345/(S(presumablySomeBase64EncodedValue))/home/index

which produces HTTP 501s on the server

I have no idea what this is and how to get rid of it. I don't even know the name of this base-64 value. Is it a session ID?

Thanks for any hints.

Upvotes: 0

Views: 258

Answers (1)

tt_emrah
tt_emrah

Reputation: 1053

in your web.config file, add this:

<sessionState cookieless="UseCookies" />

under system.web tag.

Upvotes: 1

Related Questions