parent window refresh problem
hi all
I have a page(Parent page) which refreshes every 60 seconds(using Meta Refresh). This page has links to open popup child windows . The child windows read user data ,process it and at the end refresh the main page and close itself.
In Parent page iam using
<meta http-equiv="Refresh" content="60">
in child windows iam using the javascript
opener.location.reload();
self.close();
This works fine when the child window processes and closes before the parent page refreshes itself.
But if the Parent page refreshes itself before the child window tries to refresh , then i get a
MicroSoft JScript runtime error :Permission denied
( at the line "opener.location.reload();")
I have tried using the following but it didnt work out
if(window.opener && !window.opener.closed)
Can any body suggest how to avoid this error. This is a serious requirement for my application to refresh the parent window on close of child window
Thank you in advance
srikanth

