# how can implement cors and session stickyness in ingress(haproxy)

cors and session stickyness in ingress(haproxy)

##### Post Metadata
- Posted at: over 5 years ago
- Author title: Senior DevOps Engineer
- Net upvotes: 2


## Comments
### Comment 1

The ingress controller has a setting named &quot;cookie-persistence&quot;, which enable sticky sessions based on HTTP cookies. To enable CORS, set the &quot;cors-enable&quot; setting. More info can be found in the documentation here: https://www.haproxy.com/documentation/kubernetes/latest/configuration/

##### Comment Metadata
- Posted at: almost 4 years ago
- Author title: Director of Documentation at HAProxy Technologies
- Net upvotes: 1



## Related Product
[HAProxy](https://www.g2.com/products/haproxy/reviews)

## Related Category
[Load Balancing](https://www.g2.com/categories/load-balancing)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


