scs icon indicating copy to clipboard operation
scs copied to clipboard

Add CookieFunc to update cookie based on request before writing it to http-response

Open guybrush opened this issue 1 year ago • 1 comments

This way it would be possible to set cookie-attributes based on the request

guybrush avatar May 14 '24 12:05 guybrush

@guybrush Thanks for the PR. Can you describe a real-world scenario where this is required? As far as I know, apart from Partitioned, all the cookie settings can be configured via SessionManager.Cookie already, so this would only be useful if you want to change the cookie settings on a per-request basis.

alexedwards avatar Feb 05 '25 22:02 alexedwards