Posted by Steve Pugh on 02/18/06 12:11
darren wrote:
>
> is it posible with Javascript or PHP to prevent a page from being
> bookmarked?
Sadly, yes, sort of.
Use PHP and use sessions. Then make sure that any request for a page
must have an active session id or it returns an error. The user can
bookmark the page but the bookmarks will then only work for a short
time (until the session expires). This also has the added benefit of
making the site impossible to index by search engines.
Glasgow City Council had something similar going on a few years ago,
but they added frames and a horrible DHTML menu to the mix as well.
Nice.
Steve
Navigation:
[Reply to this message]
|