hi,
i want to set cookie in client, and add following code in my app, like this:

CookeName = test,
CookieValue = aaaa,
  {headers, {cookies, CookeName, CookieValue, "/"}, {redirect, 
"/websso/register"}}.

after i rebuild and restart app, and view in browser, i get following error in 
console:

reason: {function_clause,[{e_mod_yaws,add_headers,
                                      [{cookies,test,aaaa,"/"},[]]},
                          {e_mod_yaws,controller_exec,2},
                          {e_mod_yaws,with_formatted_error,1},
                          {e_mod_yaws,out,1},
                          {yaws_server,deliver_dyn_part,8},
                          {yaws_server,aloop,3},
                          {yaws_server,acceptor0,2},
                          {proc_lib,init_p_do_apply,3}]} 

Is i use i wrong? please give me handle, thanks. :)

------------------------------------------------------------------------------
_______________________________________________
Erlangweb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/

Reply via email to