Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q558 How can I avoid people bookmarking pages and returning later without logging onto my site?

irt.org | Knowledge Base | JavaScript | Bookmark | Q558 [ previous next ]

Q558 How can I avoid people bookmarking pages and returning later without logging onto my site?

Use frames!

In the page that you don't want bookmarked use:

<html>
<head>
<script language="JavaScript"><!--
if (parent.location.href == self.location.href)
     window.location.href = 'index.htm';
//--></script>
</head>

<body>
...

And then in index.htm (i.e. your default logon screen):

<html>
<frameset cols="100%,*">
<frame src="logon.htm" name="main">
<frame src="blank.htm">
</frameset>
</html>

Feedback on 'Q558 How can I avoid people bookmarking pages and returning later without logging onto my site?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.