Skip to content

Commit

Permalink
Update comments in wf_cookies about headers
Browse files Browse the repository at this point in the history
  • Loading branch information
choptastic committed Jan 10, 2015
1 parent 1a8167a commit b83f2c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/wf_cookies.erl
Expand Up @@ -33,7 +33,8 @@ set_cookie(Cookie, Value, Path, MinutesToLive) ->

set_cookie(postback_websocket, Cookie, Value, Path, MinutesToLive) ->
%% Websocket connections have already send the headers and can't set the
%% cookies in a frame, so we need to set these cookies with javascript
%% cookies as a "frame header" (such a thing doesn't exist), so we need to
%% set these cookies with javascript
set_websocket_cookie(Cookie, Value, Path, MinutesToLive);
set_cookie(_Type, Cookie, Value, Path, MinutesToLive) ->
set_bridge_cookie(Cookie, Value, Path, MinutesToLive).
Expand Down

0 comments on commit b83f2c9

Please sign in to comment.