title: Can't retrieve cookie value in php for cookie set using asp.net
body: <p>I have a asp.net page and a php page for my internal use.
  if the asp.net application is logged in, then there will be a link to php page with which user can view the php page.
  if the asp.net application is logged out, then there wont be any access to the php page.
  In other words, one application(.net) if logged in, will give access to another application(php)
  So i planned to go with setting some session value and came across some forum to use cookie value (since the project is for internal use and wont be there in web)</p>
  
  <p>Now using asp.net i'm able to set the cookie value (let us say the cookie name is cookie_book_id ) .
  Even in firefox i went to Tools >> Options >> Remove individual cookies  and I was able to see the cookie set.</p>
  
  <p>But when i try to access using php I was not able to access.</p>
  
  <pre><code>setcookie("Cookie_Kimz", "Cookie Value - Kimz");
  echo "Cookie Values: &lt;br&gt;";
  echo "&lt;pre&gt;";
  print_r($_COOKIE);
  echo "&lt;/pre&gt;";
  </code></pre>
  
  <p>The array value I get is</p>
  
  <pre><code>Array
  (
      [Cookie_Kimz] =&gt; Cookie Value - Kimz
      [PHPSESSID] =&gt; 15d088m6pu5l45bokbs27upnv1
  )
  </code></pre>
  
  <p>I'm able to get the cookie i set using php, but i'm not able to get the cookie set using asp (i.e cookie_book_id )
  Why? </p>
  
  <p>FYI - Both the cookie value i.e Cookie_Kimz and cookie_book_id is there in firefox cookie (Tools >> Options >> Remove individual cookies)</p>
  
  <p>Some help will be much appreciable.</p>
  
  <p>Thanks,
  Kimz</p>