How we can secure better this PHP session ?
Posted: Fri Aug 15, 2008 4:56 pm
Hello everybody,
cause am somehow new with sessions on php i would like to listen your advices and ideas on how we can secure better the following session :
par example am wondering if the possible use of exit(); function is a good practice after the header ..hm ?
waiting for your advices and ideas
thanx in advance !
cause am somehow new with sessions on php i would like to listen your advices and ideas on how we can secure better the following session :
Code: Select all
<?php
session_start();
if(!oursession(yesitisautheticated)){
header("location:gotolog_in.php");
}
$specialmember=$_SESSION['thespecialmember'];
?>waiting for your advices and ideas
thanx in advance !