// most secure, except for cases where NAT (Network Address Translation)
// is used and two or more computers can have same IP address
returnfalse;
}
$this->DirectVars=$result;
$this->Expiration=$result[$this->TimestampField];
returntrue;
}
functionGetExpiration()
{
return$this->Expiration;
}
functionLoadData(&$session)
{
$query='SELECT '.$this->DataValueField.','.$this->DataVarField.' FROM '.$this->SessionDataTable.' WHERE '.$this->IDField.' = '.$this->Conn->qstr($session->SID);