| 
	
 | 
 Posted by BearItAll on 05/24/05 16:11 
On Mon, 23 May 2005 11:25:59 -0500, Jerry McEwen wrote: 
 
> 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. 
 
Just talking off the top of my head here. 
 
The back will return to the cached page, unless you put a short expire 
date onto it. But then you want the page to not be available when the 
browser attempts to refresh. 
 
As I said this is off the top of my head, so be prepared to experiment.. 
 
Lets say that you have a main access point, 
 
www.TotallyInnocentWebsite.com 
 
Which shows typical family content (smelly babies and women mud 
wrestling). Then some access point for the main part of the Domestic 
violence page which would load into a frame on the page, set up so that 
the surrounding frames are dominant (so that if they are taken by surprise 
then chances are the page still looks innocent). 
 
Your php gives that frames content a limited life and creates it's 
link name on-the-fly.  
 
Now when they press 'back' either a file that doesn't exist is requested 
(which seems to be pretty normal for web anyway) or you have a minor 
temporary page, looks like an advert for Daz or maybe just a page with the 
same background as the surrounding frames. 
 
There you are. And as you'll be doing all the coding I'll let you share 
the applause.
 
  
Navigation:
[Reply to this message] 
 |