1
0

Shared http/https sessions by rob richards from the forums

This commit is contained in:
Garvin Hicking
2007-02-08 12:08:43 +00:00
parent a6c06ba22a
commit 742fd47078
6 changed files with 34 additions and 12 deletions

View File

@ -9,10 +9,6 @@ if (defined('S9Y_FRAMEWORK')) {
@define('S9Y_FRAMEWORK', true);
if (!headers_sent()) {
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') {
@ini_set('session.name', 'SSLSID');
@ini_set('session.cookie_secure', '1');
}
session_start();
}