title: TIdHTTP: Check for valid cookies before sending request?
body: <p>I'm using Indy <code>TIdHTTP</code> along with <code>TIdCookieManager</code>. I would like to check the current cookies for the request I'm about to send and identify the likelyhood that it will be valid (I know I can't be 100% sure the server will accept my request). If there are no cookies, or if they're expired, I will want to login first and acquire new cookies. Otherwise, just send the request.</p>
  
  <p>How would I go about doing such a check? I believe I have to check the cookie manager before I send a request, but don't know what to check.</p>