When Firefox receives a cookie via an HTTPS connection, it appears to treat it as a secure cookie, even though the server did not send it as a secure cookie.
When I inspect the cookie from within Firefox, it displays "Send For: Encrypted connections only". When Firefox sends the cookie to the server in subsequent secure requests, inspection of the cookie in Java (Cookie.getSecure()) indicates that the sent cookie is not secure. Firefox refuses to send such cookies over non-secure connections.
Konqueror exhibits the same behavior.
I'd like either to ensure that the client will send the cookie over an HTTP request or know that a particular, arbitrary cookie flagged as non-secure will never be sent as part of a non-secure request. Is there any way to do this?