From 064fe694da76ee0be6068ecfeaebf5f791c7c3ac Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 29 May 2003 18:13:10 +0000 Subject: [PATCH] Initial documentation. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129217 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/session-regenerate-id.xml | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 reference/session/functions/session-regenerate-id.xml diff --git a/reference/session/functions/session-regenerate-id.xml b/reference/session/functions/session-regenerate-id.xml new file mode 100644 index 0000000000..836fee7f15 --- /dev/null +++ b/reference/session/functions/session-regenerate-id.xml @@ -0,0 +1,78 @@ + + + + + session_regenerate_id + + Update the current session id with a newly generated one + + + + Description + + boolsession_regenerate_id + + + + session_regenerate_id will replace the current + session id with a new one, and keep the current session information. + + + &return.success; + + + + A <function>session_regenerate_id</function> example + + +]]> + + + + + + As of PHP 4.3.3, if session cookies are enabled, use of + session_regenerate_id will also submit a new + session cookie with the new session id. + + + + See also session_id, + session_start, and + session_name. + + + + +