Setting HTTPONLY for Classic Asp Session Cookie

Microsoft includes an example using an ISAPI filter to all outbound cookies: http://msdn.microsoft.com/en-us/library/ms972826 or URL rewriting could be used http://forums.iis.net/p/1168473/1946312.aspx <rewrite> <outboundRules> <rule name=”Add HttpOnly” preCondition=”No HttpOnly”> <match serverVariable=”RESPONSE_Set_Cookie” pattern=”.*” negate=”false” /> <action type=”Rewrite” value=”{R:0}; HttpOnly” /> <conditions> </conditions> </rule> <preConditions> <preCondition name=”No HttpOnly”> <add input=”{RESPONSE_Set_Cookie}” pattern=”.” /> <add input=”{RESPONSE_Set_Cookie}” pattern=”; HttpOnly” negate=”true” /> </preCondition> … Read more

How do you configure HttpOnly cookies in tomcat / java webapps?

httpOnly is supported as of Tomcat 6.0.19 and Tomcat 5.5.28. See the changelog entry for bug 44382. The last comment for bug 44382 states, “this has been applied to 5.5.x and will be included in 5.5.28 onwards.” However, it does not appear that 5.5.28 has been released. The httpOnly functionality can be enabled for all … Read more

How do HttpOnly cookies work with AJAX requests?

Yes, HTTP-Only cookies would be fine for this functionality. They will still be provided with the XmlHttpRequest’s request to the server. In the case of Stack Overflow, the cookies are automatically provided as part of the XmlHttpRequest request. I don’t know the implementation details of the Stack Overflow authentication provider, but that cookie data is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)