П О Р Т А Л                            
С Е Т Е В Ы Х                          
П Р О Е К Т О В                        
  
Поиск по сайту:
                                                 
Главная

О проекте

Web-мастеру
     HTML & JavaScript
     SSI
     Perl
     PHP
     XML & XSLT
     Unix Shell

MySQL

Безопасность

Хостинг

Другое








Самое читаемое:

Учебник PHP - "Для Чайника".
Просмотров 5652 раз(а).

Иллюстрированный самоучитель по созданию сайтов.
Просмотров 7929 раз(а).

Учебник HTML.
Просмотров 4658 раз(а).

Руководство по PHP5.
Просмотров 1251 раз(а).

Хостинг через призму DNS.
Просмотров 6555 раз(а).

Подборка текстов стандартных документов.
Просмотров 57298 раз(а).

Учебник PHP - Самоучитель
Просмотров 4906 раз(а).

Документация на MySQL (учебник & справочное руководство)
Просмотров 10980 раз(а).

Внешние атаки...
Просмотров 6590 раз(а).

Учебник PHP.
Просмотров 3978 раз(а).

SSI в примерах.
Просмотров 1003 раз(а).



 
 
| Добавить в избранное | Сделать стартовой | Помощь





Руководство по PHP
Пред. След.

session_id

(PHP 4, PHP 5)

session_id -- Get and/or set the current session id

Описание

string session_id ( [string id] )

session_id() is used to get or set the session id for the current session.

The constant SID can also be used to retrieve the current name and session id as a string suitable for adding to URLs. See also Session handling.

Список параметров

id

If id is specified, it will replace the current session id. session_id() needs to be called before session_start() for that purpose. Depending on the session handler, not all characters are allowed within the session id. For example, the file session handler only allows characters in the range a-z, A-Z and 0-9!

Замечание: When using session cookies, specifying an id for session_id() will always send a new cookie when session_start() is called, regardless if the current session id is identical to the one being set.

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

session_id() returns the session id for the current session or the empty string ("") if there is no current session (no current session id exists).


Пред. Начало След.
session_get_cookie_params Уровень выше session_is_registered


Если Вы не нашли что искали, то рекомендую воспользоваться поиском по сайту:
 





Copyright © 2005-2016 Project.Net.Ru