Author: fabien
Date: 2010-05-19 13:24:13 +0200 (Wed, 19 May 2010)
New Revision: 29519

Modified:
   branches/1.3/lib/storage/sfCacheSessionStorage.class.php
   branches/1.4/lib/storage/sfCacheSessionStorage.class.php
Log:
[1.3, 1.4] marked response as private when using the sfCacheSessionStorage 
class (closes #8535)

Modified: branches/1.3/lib/storage/sfCacheSessionStorage.class.php
===================================================================
--- branches/1.3/lib/storage/sfCacheSessionStorage.class.php    2010-05-19 
11:10:59 UTC (rev 29518)
+++ branches/1.3/lib/storage/sfCacheSessionStorage.class.php    2010-05-19 
11:24:13 UTC (rev 29519)
@@ -123,6 +123,8 @@
       }
     }
     session_id($this->id);
+    $this->response->addCacheControlHttpHeader('private');
+
     return true;
   }
 

Modified: branches/1.4/lib/storage/sfCacheSessionStorage.class.php
===================================================================
--- branches/1.4/lib/storage/sfCacheSessionStorage.class.php    2010-05-19 
11:10:59 UTC (rev 29518)
+++ branches/1.4/lib/storage/sfCacheSessionStorage.class.php    2010-05-19 
11:24:13 UTC (rev 29519)
@@ -123,6 +123,8 @@
       }
     }
     session_id($this->id);
+    $this->response->addCacheControlHttpHeader('private');
+
     return true;
   }
 

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to