Reputation: 31232
We're developing an application using Play! 1.2.5 and deploying to Google App Engine. In the application.conf I have set the session cookie to be httpOnly and secure:
application.session.httpOnly=true
application.session.secure=true
When I fire a request locally, I can see the headers being set correctly:
Set-Cookie: PLAY_SESSION=something;Expires=Mon, 10-Dec-2012 14:51:56 GMT;Path=/;Secure;HTTPOnly
When I deploy to Google App Engine, I do not see any Secure or HTTPOnly flag on the cookies being set. How come?
I can't find similar problems online. Closest thing I read was GAE not supporting response.setHttpOnly (or something similar) but from the Play! source code I can see a simple Cookie being created with a httpOnly value being set to a boolean value and written to the reponse. Not sure why GAE would not accept this.
Thanks!
Upvotes: 3
Views: 3589
Reputation: 3470
Things you can do to debug:
All that might not give you the solution, but maybe will help you understand what's going on and if it's even possible.
Upvotes: 1