<?
session_start();

if ($HTTP_SESSION_VARS[counter_session]) {
 $counter_session = $HTTP_SESSION_VARS[counter_ssion]+1;
 session_register (counter_session);
}

else {
 $counter_session = 1;
 session_register(counter_session);
}

$counter =$HTTP_SESSION_VARS[counter_session]+1;
echo "$counter 번째로 방문입니다.";
?>

+ Recent posts