title: Trouble deleting cookies within symfony
body: <p>I have a php file that uses jquery.  I have this file store cookies if a check box is checked after the submit button is pressed and delete the cookies (if they exist) if the checkbox is not checked.  </p>
  
  <p>It works perfectly fine on my development server, which does not have symfony on it.  When I transfer it over to our live server, which requires me to place the code in symfony, it saves the cookies but it does not delete them.  I am using the jquery.cookies.js from here <a href="https://github.com/carhartl/jquery-cookie" rel="nofollow">LINK</a></p>
  
  <p>and my code is simply </p>
  
  <pre><code>                   // else delete the cookies if the checkbox is unchecked
                      else
                      {
                          ?&gt;
                           &lt;script type="text/javascript"&gt;
                              $.removeCookie('vtuid');
                              $.removeCookie('vt_usr');
                              $.removeCookie('vt_pd');
                              $.removeCookie('vt_chk');
                          &lt;/script&gt;
                          &lt;?php
                      }
  </code></pre>