diff --git a/servant/libservant/ServantProxy.cpp b/servant/libservant/ServantProxy.cpp index c861797..96b9e7d 100644 --- a/servant/libservant/ServantProxy.cpp +++ b/servant/libservant/ServantProxy.cpp @@ -991,7 +991,9 @@ void ServantProxy::checkCookie(RequestPacket& req) assert(pSptd != NULL); if(pSptd->_hasCookie) { - req.context[ServantProxy::STATUS_COOKIE] = pSptd->_cookie; + Cookie stCookie; + stCookie.cookie = pSptd->_cookie; + req.context[ServantProxy::STATUS_COOKIE] = stCookie.writeToJsonString(); } }