I tend to stay away from frames as much as possible, since most of what I want to do can be done with CSS.
However, I believe what you need to do is have page2's parent page (with the frameset) pass the variables on to the page through the url. I'm not sure how you are passing the variables.
However, it seems like you are doing things the hard way. Are the left and top frames the same for both framesets? If so, then you should be simply targeting the main frame in your post, and not loading a brand new page.
If you must do it the way you suggest, and $GET and $POST don't contain the data you are looking for, then I suggest you go through your $POST data and copy each item into $SESSION variables. Then your site will have access to the data with no problems. Just be sure to clear your session when you are done.