[Varnish] #1161: beresp.http.set-cookie cann't contain all the cookie

Varnish varnish-bugs at varnish-cache.org
Mon Jul 2 11:09:29 CEST 2012


#1161: beresp.http.set-cookie cann't contain all the cookie
------------------------------------+---------------------------------------
 Reporter:  bitwind                 |        Type:  defect
   Status:  new                     |    Priority:  normal
Milestone:                          |   Component:  build 
  Version:  2.1.4                   |    Severity:  normal
 Keywords:  beresp.http.set-cookie  |  
------------------------------------+---------------------------------------
 I want to get a variable from cookie, but in varnish beresp.http.set-
 cookie cann't contain all the cookie and I cann't get the variable from
 the cookie[[BR]]
 for eg[[BR]]
 in browser the value of set cookie is[[BR]]
 Set-Cookie:JSESSIONID=0000RGgc9kpgTUnLzLdxZYTOop2:871ab6ad-7832-4ade-8c0b-
 6d185d3b6dde; Path=/; HttpOnly,
 IBMSessionHandle_SessGrid-7321712278580331224=6; Path=/,
 IBMID=RGgc9kpgTUnLzLdxZYTOop2:1; Path=/,
 XStickySessionID=SDE12345678[[BR]]

 set beresp.http.X-Cookie-Debug-stickysession = beresp.http.set-cookie; //
 I get the cookie with this statement in vcl[[BR]]

 but in the browser [[BR]]
 X-Cookie-Debug-beresp-
 cookie:JSESSIONID=0000RGgc9kpgTUnLzLdxZYTOop2:871ab6ad-7832-4ade-8c0b-
 6d185d3b6dde; Path=/; HttpOnly[[BR]]

 it cann't get all the content of the cookie

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1161>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list