session_save_session

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/session.inc, строка 164

Версии
5 – 6
session_save_session($status = NULL)

Determine whether to save session data of the current request.

This function allows the caller to temporarily disable writing of session data, should the request end while performing potentially dangerous operations, such as manipulating the global $user object.

Параметры

$status Disables writing of session data when FALSE, (re-)enables writing when TRUE.

Возвращаемое значение

FALSE if writing session data has been disabled. Otherwise, TRUE.

Код

<?php
function session_save_session($status = NULL) {
  static $save_session = TRUE;
  if (isset($status)) {
    $save_session = $status;
  }
  return ($save_session);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему