confirmed, adding a sequence with the following shows

<sequence xmlns="http://ws.apache.org/ns/synapse"; name="cookieLogger">
   <in>
      <log level="custom" separator=",">
         <property name="message" value="INcoming cookies" />
         <property xmlns:ns="http://org.apache.synapse/xsd"; 
xmlns:ns3="http://org.apache.synapse/xsd"; name="cookies" 
expression="$trp:cookie" />
      </log>
   </in>
   <out>
      <log level="custom" separator=",">
         <property name="message" value="outgoing cookies" />
         <property xmlns:ns="http://org.apache.synapse/xsd"; 
xmlns:ns3="http://org.apache.synapse/xsd"; name="setcookies" 
expression="$trp:set-cookie" />
      </log>
   </out>
</sequence>


[2011-12-26 12:09:16,896]  INFO - LogMediator message = outgoing 
cookies,setcookies = 
SU=P3--EFF2TU7P1R9xeKpLyPSTOCZd5DnXfBy7jikOmvJvuWP7Wi34UWA_VjIfz2RucehJgVHWWgP9cYuSqDiv77TiSChjCFgVzePPd4a9v2m2upCum_NTn2pP31NEbeRn;
 Domain=.cheggnet.com; Expires=Tue, 25-Dec-2012 20:09:16 GMT; Path=/

Which is basically the last set-cookie header.


From: Pierce Wetter <pie...@chegg.com<mailto:pie...@chegg.com>>
Date: Mon, 26 Dec 2011 11:35:12 -0800
To: Pierce Wetter <pie...@chegg.com<mailto:pie...@chegg.com>>, 
"carbon-dev@wso2.org<mailto:carbon-dev@wso2.org>" 
<carbon-dev@wso2.org<mailto:carbon-dev@wso2.org>>
Subject: Re: [Carbon-dev] ESB 4.0.3 eating 2/3 cookies

 Note that your trick of looking at $trp:Set-Cookie won't work, because there 
are 3 headers with 3 different values, which may be the problem…

_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to