Hello,

I had a problem using sfCacheSessionStorage, as browser wouldn't store
the cookie. After investigating, I saw that  cookie lifetime is set
from "session_cookie_lifetime" in factories.yml.

I'm not sure whether this is correct way, but here is what i did to
make it work:


--- lib/response/sfWebResponse.class.php        (revision 29723)
+++ lib/response/sfWebResponse.class.php        (working copy)
@@ -167,7 +167,7 @@
     {
       if (is_numeric($expire))
       {
-        $expire = (int) $expire;
+        $expire = (int) time() + $expire;
       }
       else
       {


Rok

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to