You are here: Re: prevent bookmarking « HTML « IT news, forums, messages
Re: prevent bookmarking

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация