PHP cookie and SSL query?
| From: | Fai | Date: | Sun, 12 Aug 2001 16:46:38 +0000 |
| Subject: | PHP cookie and SSL query? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8789@lists.php.net to get a copy of this message | ||
Is it true that the cookie will not be save in client's computer if it is
sent under https secure channel like the following: (my apache web server
has SSL supported and I have self-generated certificate)
<?php
//cookie.php
setcookie("name", "helloworld", "", "", "", 1);
echo $name;
?>
access this page as: https://localhost/cookie.php
Afer I have access this page, although it works properly, I can't found any
cookie save in my local computer's cookie file when I use local computer IE
to browser.
Also, is it true that with SSL, the virtual host can't use different
certificates which are generated based on one server key and must used same
certificate in apache web server?
Thank you very much!!!