Currently I'm using this code to break iframe:
if (top.location != self.location) top.location = "";
But that code make my site loaded then redirect to my site.
I saw some sites using this (I checked by viewing source code):
if (top.location != self.location)
PHPSESSID = 'leg64j7u0db185qjkps8vum7o0';
Can anyone tell me what PHP they're using in this case?