Re: [Cppcms-users] Cookies
Brought to you by:
artyom-beilis
|
From: Marcel H. <ke...@co...> - 2013-04-29 06:57:28
|
On 29.04.2013 06:08, Saikumar Gandapodi wrote:
> The cookies set in the cppcms app is not visible in the response header at
> the client side.
>
> response().set_cookie(cppcms::http::cookie("COOKIE1","value"));
>
> The configuration is through fastcgi from lighttpd.
>
> fastcgi.server = (
> "/main" => ((
> "bin-path" => "/home/dev/myapp/myapp -c /home/dev/myapp/config.js",
> "socket" => "/tmp/hello-fcgi-socket",
> "max-procs" => 1,
> "check-local" => "disable"
> ))
> )
>
> Could it be because the lighttpd is not forwarding the cookies sent from the
> cppcms app ?
>
> Am I doing something wrong with the settings ?
Also you have to know, that the cookies are not visible immediately, but
on the next request from the client.
|