I have included some test php acode in page.tpl.php (using swfobject.js) to display a flash object which renders in a div container.

The idea is to use flash objects as header and navigation objects, and also as a dashboard embedded in certain content pages.

The problem is that the flash object is refreshed every time a link is clicked. I want it to be persistent and not reloaded on navigating through pages.

Can page.tpl.php be embedded in a div container within a proxy page to avoid this refreshing? Will this affect session management?

Should the flash objects be embedded elsewhere and not in page.tpl.php?