note 128189 added to function.setcookie

From: Date: Sun, 05 Feb 2023 06:43:01 +0000
Subject: note 128189 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-220146@lists.php.net to get a copy of this message
When I use setcookie,security error is showing in Microsoft Edge. 'A 'set-cookie' header doesn't have the 'secure' directive.' My connection is insecure http connection. How to prevent it ? ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.158.213 (proxied: 210.14.97.252) ---- Manual Page -- https://php.net/manual/en/function.setcookie.php Edit -- https://main.php.net/note/edit/128189 Del: integrated -- https://main.php.net/note/delete/128189/integrated Del: useless -- https://main.php.net/note/delete/128189/useless Del: bad code -- https://main.php.net/note/delete/128189/bad+code Del: spam -- https://main.php.net/note/delete/128189/spam Del: non-english -- https://main.php.net/note/delete/128189/non-english Del: in docs -- https://main.php.net/note/delete/128189/in+docs Del: other reasons-- https://main.php.net/note/delete/128189 Reject -- https://main.php.net/note/reject/128189 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220146) next »