manfredkooistra - 8:52 am on Feb 23, 2010 (gmt 0)
sonjay, my site is not listed in any search indexes, because robots.txt forbids all robots.
Also, nothing happens, if the framed file is called directly. Let me explain:
This is framset.php. When it is called, PHP writes a "yes" to the database plus the remote address (IP) and a timestamp. Then it outputs the file to the user's browser. The browser then should call the framed file, frame.php, with a timestamp, which PHP inserts into the link, thus: frame.php?timestamp=892349873.
Frame.php, when it is called, recieves the timestamp through GET and looks up the remote address. It then connects to the database and looks for an entry with "yes" which has the same timestamp and remote address (IP) and then updates that entry to "no".
That is all. So every time the frameset is called with the framed file, the entry will read "no". If the framed file is not called, the db does not get updated and the entry remains "yes".
A visitor could call the frameset without the framed file and then call the framed file later, and I would still see a "no". This would happen if a user used Lynx and followed the link in the noframes tag manually. Because it does not matter, how much time elapses between the call of both files.
If a user calles frames.php without the frameset, nothing happens, because there is no entry in the database to update. I won't see this visit in my db.
All I see is if the call to frameset.php is followed by a call to frames.php or not, from the same IP and with the same timestamp.
So if I see "no", it means that frames.php was not called, either because frames were disabled (in a browser) or because the user agent does not support frames (like Lynx or a bot) or because the call to frames.php was aborted by some tool or -- and that is what I'm wondering about -- because there is some flaw in my thinking.