title: iPhone App Cookie Delay
body: <p>My iPhone app has a UIWebView that loads a page containing javascript that sets a cookie.  It seems that if i set a cookie and exit the app within 10-15 seconds then the cookie is never saved, however if i set the cookie, wait 10-15 seconds THEN exit the app, the cookie is saved.</p>
  
  <p>Anyone have any info about why their is a delay and how to go about having the cookies saved immediately.</p>