71 $savedFingerprint = unserialize($session->
get(
'SESSION_FINGERPRINT'));
72 if ($savedFingerprint ===
false) {
73 $savedFingerprint = $currentFingerprint;
77 foreach ($currentFingerprint as $key =>
$current) {
78 $distance = levenshtein(
$current, $savedFingerprint[$key]);
80 $changes += ($distance>0) ? 1 : 0;
86 if (($changes > 1) || ($score > 30)) {
90 $session->
set(
'SESSION_FINGERPRINT', serialize($currentFingerprint));
$_SESSION['RF']["verify"]
get($name, $default=null)
checkSessionPrint(AttributeInterface $session)