问题描述:

I want my sessions to create random ids. I want to use this:

session_regenerate_id()

What I have now, are these two parts:

<?php

session_start();

function confirm_logged_in() {

if (!logged_in()) {

redirect_to("login.php");

}

}

?>

Thanks.

相关阅读:
Top