<?php
ini_set('session.use_only_cookies', 0);
$session_id = rand(10000, 99999);
session_set_cookie_params(
0,
'/',
NULL,
false,
true
); session_cache_limiter(FALSE);
session_name('_adtuu');
session_start();
// session_regenerate_id(true);
//echo session_id();
//var_dump(strpos(session_id(), '-ESSION-ID')); if (strpos(session_id(), '-ESSION-ID') !== 0) {
session_write_close();
session_id('-ESSION-ID' . $session_id);
session_start();
// echo session_id();
} $_SESSION['NAME'] = 'ADTUU_NAME'; var_dump(session_id()); exit;