apache cookies iframe javascript php

Passing cookie data between iframes

Say I have a website,, with a login box which sits in an iframe situated in My question is:

  1. Is it possible to pass cookie data from the inner iframe ( to the website, so the website knows when the user logged in?
  2. Is it possible to do this client-side, without the need to refresh the whole page? How would the fact that user logged in be passed to the website?

Any solution which works on FF and IE 6/7 would be great.