Hi,
I open from parent page a child aspx page.
I can't hide the url in the child page. (in IE 7 and FF 3.5).
I want that the user will be able to open that url only from the parent page and if he copy that url and try to open from somewhere else, the page will be blank.
I tried (in the child page) :
<script type="text/javascript">
<!--
function windowOnLoad()
{
if ( !window.opener )
window.location.href = 'ParentPage.aspx';
}
window.onload = windowOnLoad;
// -->
</script>
but with no success
Any idea?
Thanks
Main Topics
Browse All Topics





by: needo_jeePosted on 2009-10-07 at 03:51:08ID: 25513885
Hi,
Please provide some more explanation