session_start(); $_SESSION['name'] = 'value'; echo $_SESSION['name'] $_SESSION['passid'] = $pass; $passid = session_id(); if($_SESSION['passid'] != $pass || empty($_SESSION['pass'])) pass=".$_SESSION['pass']." --- --- --- --- --- --- --- --- $_SESSION = array(); session_destroy(); --- --- --- --- --- --- --- --- $_SESSION = array(); session_destroy(); --- --- --- --- --- --- --- --- id $_SESSiON['id'] = $viborka['id']; , --- --- --- --- --- --- --- --- <?php // $User = new User(); // $UserData= new UserData($User->Id); // Cacher::SetCallback('GetData', array($User->Id), $UserData); // $Response = Cacher::GetData('userdata', md5($User->Id), 24 * 60 * 60, 60 * 60); // Cacher::SetCallback('GetUserText', array($User->Id)); // $Response .= Cacher::GetData('usertext', md5($User->Id), 24 * 60 * 60, 120 * 60); // echo $Response; ?> --- --- --- --- --- --- --- --- <?php ini_set("session.use_trans_sid", true); session_start(); echo '<a href="index"></a>'; ?> --- --- --- --- --- --- --- --- session.use_cookies- 1, PHP , 0 - .session.use_trans_sid - 1, PHP , URL , 0 - . , PHP - php.ini, ini_set(),.htaccess ------------------------------------------- <?php session_start(); if(isset($_SESSION['moves'])) { $_SESSION['moves']++; $_SESSION['show_time'] = time() - $_SESSION['start_time']; }else{ $_SESSION['start_time'] = time(); $_SESSION['show_time'] = $_SESSION['moves'] = 0; } /////// echo': '.$_SESSION['moves'].'<br/>Online: '.date('H:i:s', $_SESSION['show_time'] - 60 * 60 * 3); ?> --------------------------------------------

перейти
в начало
В библиотеку

на главную



..
(c) xika.ru