Blocking multiple login using same username at a time
Posted: Wed Dec 08, 2004 2:17 am
Code: Select all
<?php
if (!tep_session_is_registered('customer_first_name') && !tep_session_is_registered('customer_id') || $customer_type!='Center' && $customer_type!='Staff') {
header("Location: log_off.php");
}
?>Above is part of my code to detect onthe session on each login member..i would like to restrict only one login using the same username at one time...emm..can anyone show me the way how shud i start from here?
Thanks alot ya