Change the order of headers in HTTP response

Discussion in 'Apache' started by ebs2, Oct 27, 2011.

  1. #1
    Hi dude,

    I would like to know how can I change the order of headers in HTTP response.

    For more information, there are two headers of SET_COOKIE. One is from application server(JSESSIONID), another is from apache. The client program only return the last SET_COOKIE (apache) due to the header order whether we need the SET_COOKIE(JSESSIONID) to achieve the session stickiness.

    Therefore, we would like to swap the order of the headers to satisfy the client program to return the SET_COOKIE(JSESSIONID).

    It would be grateful if anyone could help. Thanks!

    Edward
     
    ebs2, Oct 27, 2011 IP