<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Zend_Cache_Frontend_Page &amp; Google Analytics cookies</title>
	<atom:link href="http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/</link>
	<description>Thijs Feryn's blog</description>
	<lastBuildDate>Sat, 20 Aug 2011 02:21:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: diego</title>
		<link>http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/comment-page-1/#comment-866</link>
		<dc:creator>diego</dc:creator>
		<pubDate>Sat, 20 Aug 2011 02:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.feryn.eu/?p=486#comment-866</guid>
		<description>Awesome post and useful.
Thanks for share!
Diego
Mar del Plata, Argentina</description>
		<content:encoded><![CDATA[<p>Awesome post and useful.<br />
Thanks for share!<br />
Diego<br />
Mar del Plata, Argentina</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Utiliser les tags Zend_Cache_Frontend_Page avec un site participatif &#124; Le Potlatch</title>
		<link>http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/comment-page-1/#comment-860</link>
		<dc:creator>Utiliser les tags Zend_Cache_Frontend_Page avec un site participatif &#124; Le Potlatch</dc:creator>
		<pubDate>Wed, 13 Jul 2011 00:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.feryn.eu/?p=486#comment-860</guid>
		<description>[...] Un blog a identifié ce problème et propose une solution que j&#8217;ai adaptée : créer une classe Frontend_Page personnalisée qui ne tient pas compte des cookies Google. Cette classe hérite de Zend_Cache_Frontend_Cache et redéfinit uniquement la méthode _makePartialId() qui boucle sur les différentes variables pour créer un identifiant unique. Il suffit d&#8217;éliminer les Cookies commençant par un double underscore (__utmz, __utma, etc.) pour qu&#8217;ils ne soient pas pris en compte dans la création de l&#8217;identifiant unique : [...]</description>
		<content:encoded><![CDATA[<p>[...] Un blog a identifié ce problème et propose une solution que j&#8217;ai adaptée : créer une classe Frontend_Page personnalisée qui ne tient pas compte des cookies Google. Cette classe hérite de Zend_Cache_Frontend_Cache et redéfinit uniquement la méthode _makePartialId() qui boucle sur les différentes variables pour créer un identifiant unique. Il suffit d&#8217;éliminer les Cookies commençant par un double underscore (__utmz, __utma, etc.) pour qu&#8217;ils ne soient pas pris en compte dans la création de l&#8217;identifiant unique : [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thijs</title>
		<link>http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/comment-page-1/#comment-480</link>
		<dc:creator>Thijs</dc:creator>
		<pubDate>Wed, 07 Apr 2010 18:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.feryn.eu/?p=486#comment-480</guid>
		<description>Sure thing. Go right ahead.</description>
		<content:encoded><![CDATA[<p>Sure thing. Go right ahead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gwen Sauve</title>
		<link>http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/comment-page-1/#comment-447</link>
		<dc:creator>Gwen Sauve</dc:creator>
		<pubDate>Sat, 20 Mar 2010 12:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.feryn.eu/?p=486#comment-447</guid>
		<description>Great post, I read this a while ago and, since then . I was wondering… can I translate your post into portuguese - with link to your original post, of course?</description>
		<content:encoded><![CDATA[<p>Great post, I read this a while ago and, since then . I was wondering… can I translate your post into portuguese &#8211; with link to your original post, of course?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Holys</title>
		<link>http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/comment-page-1/#comment-429</link>
		<dc:creator>Holys</dc:creator>
		<pubDate>Sat, 20 Feb 2010 21:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.feryn.eu/?p=486#comment-429</guid>
		<description>Hi, i create self frontend with another name as Page. In bootstrap use factory method       $cache = Zend_Cache::factory(&#039;Gran_Cache_Frontend_PageGA&#039;,
              &#039;File&#039;,
              $frontendOptions,
              $backendOptions,
              true
              ); 
And in class Gran_Cache_Frontend_PageGA (same as original frontend page) i modify  method _makePartialId  in case Cookie with         case &#039;Cookie&#039;:
            if (isset($_COOKIE)) {
               $my_cookie = $_COOKIE;
               foreach($my_cookie as $key=&gt;$val){
                  // remove google analytics cookie
                  if(false !== strpos($key,&quot;__&quot;){                   unset($my_cookie[$key]);
                  }   
                  
               }              
               $var = $my_cookie;
            } else {
                $var = null;
            }
            break;

Sorry for my english ...</description>
		<content:encoded><![CDATA[<p>Hi, i create self frontend with another name as Page. In bootstrap use factory method       $cache = Zend_Cache::factory(&#8216;Gran_Cache_Frontend_PageGA&#8217;,</p>
<pre>
             'File',
             $frontendOptions,
             $backendOptions,
             true
             );
</pre>
<p>And in class Gran_Cache_Frontend_PageGA (same as original frontend page) i modify  method _makePartialId  in case Cookie with         case &#8216;Cookie&#8217;:</p>
<pre>
           if (isset($_COOKIE)) {
              $my_cookie = $_COOKIE;
              foreach($my_cookie as $key=&gt;$val){
                 // remove google analytics cookie
                 if(false !== strpos($key,&quot;__&quot;){                   unset($my_cookie[$key]);
                 }   

              }
              $var = $my_cookie;
           } else {
               $var = null;
           }
           break;
</pre>
<p>Sorry for my english &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://blog.feryn.eu/2009/06/zend_cache_frontend_page-google-analytics-cookies/comment-page-1/#comment-308</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 27 Nov 2009 22:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.feryn.eu/?p=486#comment-308</guid>
		<description>I just ran into this same issue, I had determined after many hours of debugging what the cause was, but thanks to reading this excellent post now have a fix without having to spend hours researching for it.  Thank You.</description>
		<content:encoded><![CDATA[<p>I just ran into this same issue, I had determined after many hours of debugging what the cause was, but thanks to reading this excellent post now have a fix without having to spend hours researching for it.  Thank You.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

