title: document.cookie not working
body: <p>I am trying to use document.cookie in javascript in an alert(for an experimental purpose). Initially, it was displaying the cookie's fine, all of sudden its displaying "style_cookie=null".</p>
  
  <p>I was doing this in phpbb3. I am trying to add a custom page inside it and I am in the process of building it. So the cookie setter is phpbb3.</p>
  
  <p>I am not sure whats going wrong here? Is it related to cookie time-out or cookie expiration? I am confused, some help would be appreciated.</p>
  
  <p>The code looks like the following,</p>
  
  <pre><code>alert(document.cookie);
  </code></pre>
  
  <p>Thanks,
  Abi</p>