Hello, with the above code i try not to log again the same visitor that refreshes my webpage. I just want to log him only the first time thet he enters my page. if he hits the submit button and index.pl runs again or he just refreshes his browser i do not want my code to log him again. so i used the above code.while ( $row = $st->fetchrow_hashref ) { if ( $host eq $row->{host} ) { exit 0; } }
In reply to logging the user once every session by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |