Doing that with frames is unreliable. Some sites will detect and bust
out of frames. You may be able to access with javascript the frame url,
if the security policy of the browser allows you to do so.
The best bet is to build a suffix proxy with squid and an ICAP server.
Dan
On 01/12/2011 08:06 AM, Andre Lopes wrote:
Hi,
Thanks for the reply.
So I must to do that not using IFrame. Someone have any idea on how can be done?
I will describe the project. The project is a directory of sites(I
show other sites), but when the user click on a site they will go to
an URL on the directory that will show the website, the will not leave
the directory website. It is possible to know where the visitor is
without using a Proxy software on the directory website?
Best Regards,
On Wed, Jan 12, 2011 at 12:03 PM, Amos Jeffries<squid3@xxxxxxxxxxxxx> wrote:
On 12/01/11 23:48, Andre Lopes wrote:
Hi,
I need to develop a webpage with an IFrame and I need to know the
external URL/URI where the user is on the webpege with the IFrame.
At the begin I was thinking to use the "PHProxy" solution, but PHProxy
is not totally reliable. It fails with some URL's/URI's.
My questions: What other solution can I use to track the page that the
visitor is browsing on the IFrame? "Squid" will help me in this type
of task?
Nope. and um "why?"
The HTTP Referer: header inside the iframe *may* be set to the parent page
URL when it is first loaded by the parent page. This varies between
browsers.
Once you start clicking on links inside the frame it becomes just another
page loaded by the browser. Related only to the page that was previously in
the frame.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.10
Beta testers wanted for 3.2.0.4