Permalink
Browse files

#8 JSESSIONID header was changed from "a" to more meaningful "dummy" :)

  • Loading branch information...
1 parent 3d87b60 commit 56dc589070edf0ade1e9f46f9b32c7578f4bb55a @majek majek committed Oct 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sockjs_filters.erl
View
@@ -227,7 +227,7 @@ h_sid(Req, Headers, _Server, _SessionId) ->
%% set it to a dumb value. It doesn't really matter what, as
%% session information is usually added by the load balancer.
case sockjs_http:jsessionid(Req) of
- undefined -> [{"Set-Cookie", "JSESSIONID=a"}];
+ undefined -> [{"Set-Cookie", "JSESSIONID=dummy; path=/"}];
_ -> []
end ++ Headers.

0 comments on commit 56dc589

Please sign in to comment.