The secure
parameter sets the secure flag for HTTP cookies:
The purpose of the secure flag is to prevent cookies from being observed by unauthorized parties due to the transmission of a the cookie in clear text. To accomplish this goal, browsers which support the secure flag will only send cookies with the secure flag when the request is going to a HTTPS page. Said in another way, the browser will not send a cookie with the secure flag set over an unencrypted HTTP request.
In your case, the secure cookie is likely not being sent at all, because you are not serving your page over HTTPS.