сессия между http и https

shark_255

Новичок
сессия между http и https

Как сделать, чтобы сессия сохранялась между переходами с http и https одного домена ?
 

pilot911

Новичок
сохранять куку для двух вариантов с/без включенного security_flag
 

pilot911

Новичок
bool setcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] )


secure

Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client. When set to TRUE, the cookie will only be set if a secure connection exists. On the server-side, it's on the programmer to send this kind of cookie only on secure connection (e.g. with respect to $_SERVER["HTTPS"]).



http://www.php.net/manual/en/function.setcookie.php
 
Сверху