I have an HTTPS site with Echo2. I am wondering if there is any way to force cookies into secure only mode.
I noticed from this link that it is possible to sniff cookies and use them in an exploit, and also that echo2 seems to never set up cookies in the send / receive only via https mode.
Thanks.
This works.
This works I think...
Connection con = WebRenderServlet.getActiveConnection(); HttpServletRequest req = con.getRequest(); if(null != cookies){ for(int i = 0; i < cookies.length; i++ ){ cookies[i].setSecure(true); } }