anchor.diff:      %% TODO: set the {domain,"example.com"} of the session cookie
       Hdr = mochiweb_cookies:cookie(?SESSION_COOKIE, SessionId, [{path, "/"}, {http_only, true}]),
       RD1 = wrq:merge_resp_headers([Hdr], RD),
  -    z_context:set_reqdata(RD1, Context).
  +    z_context:set(set_session_id, true, z_context:set_reqdata(RD1, Context)).
   
   
   %% @spec clear_session_id(Context::#context) -> #context
  
positive.code: 
  %% Dump all sessions to stdout
  handle_call(dump, _From, State) ->
      SesPids = dict:fetch_keys(State#session_srv.pid2key),
      lists:foreach(fun(Pid) -> z_session:dump(Pid) end, SesPids),
      {reply, ok, State};
      
  handle_call(Msg, _From, State) ->
  
negative.code: 
  
  rename_session(Pid, Context, State) ->
  	case z_context:get(set_session_id, Context) of
  		true ->
  			{Context, State};
  		_ ->
  		    % Remove old session-id from the lookup tables
  		    State1 = erase_session_pid(Pid, State),
  		    % Generate a new session id and set cookie
  		    SessionId = z_ids:id(),
  		    Context1  = set_session_id(SessionId, Context),
  		    State2    = store_session_pid(SessionId, Pid, State1),
  			{Context1, State2}
  	end.
  
  
  %% @spec erase_session_pid(pid(), State) -> State
  