How I understand a visitor to www.xx.com leaves Site and goes to other domain www.zzz.com ? I refer about mouse-trapping ...

Also may count by anyway currently visitors on site or time a particular visitor stay on site ?

Can you recommend a textbook about security of DB(MySQL only or mainly) , for example handle credit card data, passwords etc on DBs and the relevant ?