Session cookie with httpOnly flag
-
01-03-2021 - |
문제
I would like to configure my grails project in such a way that the session cookie is set with the httpOnly flag.
As I do understand, this is a configuration in the web.xml or context.xml file. But how do I set it in my grails project?
해결책
It seems there are a few ways to do it according to this blog post (author of The Definitive Guide to Grails commented on that post). But it looks like there isn't any straightforward way to do it.
제휴하지 않습니다 StackOverflow