as I mentioned in another thread related to this, if you're storing the Session ID in a cookie, there should be no problems with frames.
If you are not using cookies and you're passing the SID by url, then you need to pass it to the page being included in a frame.
<frame src="page2.php?PHPSESSID=SID">