aks2download
چهارشنبه 06 آبان 1388, 19:21 عصر
سلام
من وقتی از طریق فرم login وارد سایتم میشم یک session ایجاد میکنم
با دستور : $_SESSION['student']="$username";
من میخوام بعد یه مدت مثلا 5 دقیقه این session را نابود کنم.
session_unset($_SESSION['student']=="$username");
کسی میتونه با یه کد منو راهنمایی کنه؟؟؟
من وقتی از طریق فرم login وارد سایتم میشم یک session ایجاد میکنم
با دستور : $_SESSION['student']="$username";
من میخوام بعد یه مدت مثلا 5 دقیقه این session را نابود کنم.
session_unset($_SESSION['student']=="$username");
کسی میتونه با یه کد منو راهنمایی کنه؟؟؟