context->session->newSessid; http_response_code(303); // "see other" redirection setcookie('sessid', $sessid, time() + 86400 * 365); // session creation header('Location: /bookings.php'); // login redirection } }