// display navigation if necessary
if ($disp_nav == true)
echo ‘<a href=”catalog.html”>Visit our catalog page!</a>’;
This is the moment of truth. Load
, and click
the popup link. No navigation should show up. If you get to the popup page through Google,
Yahoo!, or MSN, or if you load
directly from the
address bar of your browser, the navigation link should appear (see Figure 6-2).
Now is a great time to test the RefControl Firefox plugin mentioned in Chapter 2. This plugin
allows you to display and modify REFERER information. Install the plugin and navigate to
. In the page, click the link that opens the
popup window, and note the HTTP REFERER displayed in the status bar (see Figure 6-3). You
can see that the catalog link doesn’t show up when the popup is opened as a result of naviga-
tion from within your site.
c06.qxd:c06 10:55 126