Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top