title: Can I set cookies before returning an action in Play Framework 2?
body: <p>I know I can set cookies in <code>Ok(...).withCookies(...)</code> when returning an action. However I wonder if there is a way to set some cookies by manipulating the <code>request</code> object. So that I can set some cookies in my models and my controller just need to send them back.</p>