By default the initial PHP session ID is:PHPSESSID However, when I change that to:YourVisit and I click on Cookies, and view Cookie information after submitting my form there are two Cookies: PHPSESSID and YourVisit, I thought there was only suppose to be one session ID?
Bu bile Temizle Oturum Tanımlama butonuna basarak ve hiçbir oturumları bu (iki oturum kimlikleri) oluyor neden sadece merak, formu göndermeden önce var olduğunu doğruladıktan sonra meydana olmuştur, ben sadece değerleri farklı olan ve olmayan için teşekkür ederim bir, reddedilmesine ihtiyaç newb yanan.
session_name('YourVisit');
session_start();
<?php
// Take the user's email and store it in a session.
$_SESSION['email'] = $_POST['email'];
// Take the time that the user logged in and store that also in a session.
$_SESSION['loggedin'] = time();
?>