Slide 13
Slide 13 text
7.0 → 7.3
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 6/8/19 - 13 / 29
www.galvao.eti.br
2015 → 2019
session_start([
'name' => bin2hex(random_bytes(8)),
'referer_check' => 'foo*',
'use_only_cookies' => 1,
'use_trans_sid' => 0,
'cookie_httponly' => 1,
'cookie_secure' => 1,
'cookie_lifetime' => 0,
'save_handler' => 'files',
'save_path' => __DIR__ . '/../data/session',
'use_strict_mode' => 1,
'sid_length' => 128,
]);
Por que PHP é a melhor coisa desde o pão fatiado