Re: [Cppcms-users] Session data from client does not reach cppcms::rpc::json_rpc_server method?
Brought to you by:
artyom-beilis
|
From: Eric G. <con...@gm...> - 2013-11-30 21:54:43
|
Maybe I'm wrong...
But...
What I understand about sessions, is that... the cookie is the serial
number of the session... not the content of "my_key". Your key belongs to
the session..
So..
the session can exist (get_cookie return something) but the key inside the
session may not exist at the same time of course (is_set(my_key) return
false).
On Fri, Nov 29, 2013 at 6:29 AM, CN <cn...@fa...> wrote:
> Taking void post(std::string const &author,std::string const &message)
> in file json_rpc_chat.cpp as an example,
>
> session().is_set("my_key");
>
> appears to always return false. However,
>
> session().get_session_cookie();
>
> does return a string. Am I misunderstanding http or the framework?
>
> Thank you!
> CN
>
> -- http://www.fastmail.fm - Choose from over 50 domains or use your own
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
>
|