|
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]
|