PHP » GoLang |
login |
register |
about
|
GoLang session_create_id
request it (435)
GoLang replacement for PHP's session_create_id
[edit | history]
session_create_id(PHP 7 >= 7.1.0) session_create_id — Create new session id Description
string session_create_id
([ string
$prefix
] )session_create_id() is used to create new session id for the current session. It returns collision free session id. If session is not active, collision check is omitted. Session ID is created according to php.ini settings. It is important to use the same user ID of your web server for GC task script. Otherwise, you may have permission problems especially with files save handler. Parameters
Return Valuessession_create_id() returns new collision free session id for the current session. If it is used without active session, it omits collision check. Examples
Example #1 session_create_id() example with session_regenerate_id()
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|