document that zm_session_start should be called previously to session_regenerate_id
This commit is contained in:
parent
28155ebd90
commit
070b8066f2
|
@ -28,7 +28,8 @@ function zm_session_start() {
|
||||||
}
|
}
|
||||||
} // function zm_session_start()
|
} // function zm_session_start()
|
||||||
|
|
||||||
// My session regenerate id function
|
// session regenerate id function
|
||||||
|
// Assumes that zm_session_start has been called previously
|
||||||
function zm_session_regenerate_id() {
|
function zm_session_regenerate_id() {
|
||||||
if ( session_status() != PHP_SESSION_ACTIVE ) {
|
if ( session_status() != PHP_SESSION_ACTIVE ) {
|
||||||
session_start();
|
session_start();
|
||||||
|
|
Loading…
Reference in New Issue