You are here: Re: Need to remove history of last page « All PHP « IT news, forums, messages
Re: Need to remove history of last page

Posted by Simon on 05/25/05 15:41

> I'm working on a web site for a domestic violence group and these
> groups always have an "escape" button, which is simply a link to
> another site. Whether I open this link in the same window, a new
> window or target="top", the back button will always return me to the
> domestic violence site, which is what we wat to avoid.
>
> Is this possible via PHP? Thank you.

What about...

when the users presses the escape button/link it comes back to itself, (to
the same page), with an extra argument such as "&escape=1"

The at the beginning of every page you would have...

start_session()
if (escape == 1) || (session escape) then
- save to the session that this user has escaped.
- redirect.
- die()

That should cover almost all cases I think.
To return to the site they would have to restart the browser, (you might
want to tell them that).

Almost all back buttons, (IE, Opera), actually give the title of the
previous page in a little drop down menu, so you might have to make the
title non descriptive because you cannot change that value.

Simon

 

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

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