<?php
ob_start();
ini_set('session.use_cookies', 1);
ini_set('session.cookie_lifetime', 0);
ini_set('session.use_trans_sid', 1);
ini_set('arg_separator.output', "&");
session_start();
session_name('SID');
$sid = session_id();
$sid = md5(rand(09009, 999999));
?>