OK what I am trying to do is block users from accessing a page directly. I want them to only be able to view the page via the IFRAME and not type in the URL and go to it directly. I have a session started on all pages and if the index.php doesnt start the session varible you can not access the page...it returns them to the index.php. Problem is, once the index.php has run...you can then type the url in directly and go to the page. Is there a way to stop this??? If you need more details just ask.... ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/