<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042564" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042564</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Hi,
I also have the same</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/capture-toplocation-masking-url-php-variable#comment-1242851</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I also have the same issue. I have set up the URL Masking in GoDaddy&lt;br /&gt;
Can you help in understanding on how to set the cookie to document.referrer???? &lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
Raj&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Jun 2009 07:19:34 +0000</pubDate>
 <dc:creator>drajanik</dc:creator>
 <guid isPermaLink="false">comment 1242851 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Eureka!
setting the cookie</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/capture-toplocation-masking-url-php-variable#comment-1236386</link>
    <description> &lt;p&gt;Eureka!&lt;/p&gt;
&lt;p&gt;setting the cookie to document.referrer captures the parent frame&#039;s URL!&lt;/p&gt;
&lt;p&gt;YAY! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 Dec 2008 21:48:54 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1236386 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Setting the cookie with</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/capture-toplocation-masking-url-php-variable#comment-1236385</link>
    <description> &lt;p&gt;Setting the cookie with javascript on the landing page, then reading it in the webform with php works - &lt;strong&gt;only when the landing page is not in the masking frame.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The masking is being set up through GoDaddy admin by the webmaster&lt;/p&gt;
&lt;p&gt;Should we use .htaccess? how would that be done, to rewrite a url like &lt;a href=&quot;http://domain/content/filename&quot; title=&quot;http://domain/content/filename&quot;&gt;http://domain/content/filename&lt;/a&gt; to the masking url &lt;a href=&quot;http://someotherdomain/&quot; title=&quot;http://someotherdomain/&quot;&gt;http://someotherdomain/&lt;/a&gt; ? could I then capture the someotherdomain in a cookie? or would it be accessible by REQUEST_URI or HTTP_HOST?&lt;/p&gt;
&lt;p&gt;When it is framed in the masking URL I can access the top/parent window, alert(top) shows the object Window, but I cannot read the top.location (or parent.location, or window.parent.location, or self.parent.location or any location.toString() ...)&lt;/p&gt;
&lt;p&gt;I think there is a cross-domain security issue in the javascript.&lt;/p&gt;
&lt;p&gt;suggestions?&lt;/p&gt;
 </description>
     <pubDate>Sun, 21 Dec 2008 21:40:09 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1236385 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
