Here's an example I put together.
Its very simple, but illustrates how it should be working:
Code:
<body>
<iframe name="frame1" src="form1.php" style="width:200px; height:200px;">Loading...</iframe>
<iframe name="frame2" src="process.php" style="width:200px; height:200px;">Loading...</iframe>
<iframe name="frame3" src="display.php" style="width:200px; height:200px;">Loading...</iframe>
</body>
Code:
<form action="process.php" method="POST" [red]target="frame2"[/red]>
<input type="text" name="forum">
<input type="text" name="keywords">
<input type="submit" name="send" value="Process Values">
</form>
Code:
<body [red]onLoad="parent.window.frames['frame3'].location='display.php'"[/red]>
<?PHP
code that adds the values from the form to a DB
?>
</body>
Code:
<?PHP
Code to display data from DB
?>
Basically this illustrates what I understood to be your process.
The Parent Page Loads 3 Iframes. Iframe one contains a form that upon submission targets iframe2 to have the values from the form be processed (I used PHP, but the process can be anything at all), and inserted into a DB. Once that is done, iframe2 executes the JS call to reload iframe3.
All iframe3 does is connect to a Db and display data from a table. Since it gets refreshed by iframe2 it will display whatever was added.
With that said, if you are getting a Permission Denied page in your iframe3, it means that somehow either your process does not have the correct rights to refresh the page in iframe3, or whatever is running there is having problems.
JS is doing what its supposed to at this point and attempting to reload the page.
Does opening the page in iframe3 by itself work fine?
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.