Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mono Cookie Issue #77

Merged
merged 1 commit into from Jan 26, 2012
Merged

Mono Cookie Issue #77

merged 1 commit into from Jan 26, 2012

Conversation

tgrassau
Copy link
Member

When running a ServiceStack application under mono I experienced that some clients do not process the cookies set at the server side. This is due the fact, the Set-Cookie header produced when running the web application in IIS differs from the one produced by the mono environment.

Example output

  • Mono: Set-Cookie: ss-id=Swla39ZX9UCU12MeaABEsw==; domain=; path=/
  • IIS: Set-Cookie: ss-id=0yeNOe2sEU6FLQjfxTcDow==; path=/

The reason for this can be found in the mono sources.

The solution has been tested under linux running apache2 + modmono + mono 2.10.5

mythz added a commit that referenced this pull request Jan 26, 2012
@mythz mythz merged commit fa1c098 into ServiceStack:master Jan 26, 2012
@mythz
Copy link
Member

mythz commented Jan 26, 2012

nice catch, thx for the pull request! Note I have runtime flags like Env.IsMono that are handy it smoothing out the x-plat kinks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants