Just a wild thought, did you try by removing the same twice? <header name="Set-Cookie" scope="transport" action="remove" /> <header name="Set-Cookie" scope="transport" action="remove" />
Thanks, NuwanD. On Thu, Feb 27, 2014 at 6:52 PM, Krishantha Dinesh <[email protected]>wrote: > I'm in the process of developing a connector for a backend API. As a part > of the response header, I get multiple "Set-Cookie" headers as shown below. > > Set-Cookie: JSESSIONID="ajax:1613288983512332665"; Version=1; Path=/ > Set-Cookie: bcookie="v=2&d90f407e-0cc7-4cdd-ab41-24118a8e9e8f"; Version=1; > Domain=linkedin.com; Max-Age=63072000; Expires=Sat, 27-Feb-2016 12:08:56 > GMT; Path=/ > Set-Cookie: lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/ > Set-Cookie: > leo_auth_token="GST:U8wI3me16vI-3Gir1CPfA4eSCgdwXDOiITwqRR6PwedBfY4bxbeO69:1393502936:c5fe592b5d6cace7d781cf09a83a90f839598eb0"; > Version=1; Max-Age=1799; Expires=Thu, 27-Feb-2014 12:38:55 GMT; Path=/ > Set-Cookie: lidc="b=LB25:g=55:u=3:i=1393487710:t=1393522107:s=3827678994"; > Expires=Thu, 27 Feb 2014 17:28:27 GMT; domain=.linkedin.com; Path=/ > Set-Cookie: s_leo_auth_token="delete me"; Version=1; Max-Age=0; > Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ > Set-Cookie: sl="delete me"; Version=1; Domain=.api.linkedin.com; > Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ > Set-Cookie: sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 > 00:00:10 GMT; Path=/ > Set-Cookie: visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Sat, > 27-Feb-2016 12:08:56 GMT; Path=/ > > I used the below mentioned code to remove those "Set-Cookie" headers, but > it removed only one. > > <header name="Set-Cookie" scope="transport" action="remove" /> > > I tried using the same code with "Set-Cookie" header suffixes (eg: > JSESSIONID, bcookie) and also with asterisk (*), but it doesn't remove any > of the headers. Is there a workaround to solve this issue? > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Dias Senior Software Engineer - WSO2, Inc. http://wso2.com email : [email protected] Phone : +94 777 775 729
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
