Consider the snippet below:
....
$adapter_options = array();
$adapter_options['cookies'] = true;
..........
.....
$browser = new sfWebBrowser(array(), 'sfCurlAdapter',
$adapter_options);
....

If the above is place within a conditional loop, the storage of
cookies to the default file fails. Eg:
while(true){
   ....
   $adapter_options = array();
   $adapter_options['cookies'] = true;
   ..........
   .....
   $browser = new sfWebBrowser(array(), 'sfCurlAdapter',
$adapter_options);
....
}

However, the same works fine if implemented outside the loop!!

Kindly help me understand the relation.


-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to