title: cookie not working in Internet explorer
body: <p>I am adding a value to cookie using </p>
  
  <pre><code>Cookie testcookie = new Cookie ("test",test);
  testcookie .setMaxAge(5*60);
  response.addCookie(testcookie) ;
  </code></pre>
  
  <p>But I am not getting the cookie value in Internet explorer.
  code of getting cookie value</p>
  
  <pre><code>Cookie cookies [] = getRequest().getCookies ();
      Cookie myCookie = null;
      if (cookies != null)
      {
  
          for (int i = 0; i &lt; cookies.length; i++) 
          {
              if (cookies [i].getName().equals ("test"))
              {
                  myCookie = cookies[i];
                  String testval=myCookie.getValue();
              }
          }
      }
  </code></pre>
  
  <p>But the same works in firefox,cooies are enabled in IE.How to resolve this ?</p>