This is a discussion on Re: obsuring history... within the alt.comp.lang.php forums, part of the PHP Programming Forums category; "Declan O'Gorman" <dex@dotinspiration.co.uk> wrote in message news:<bdati2$jjd$1@wisteria....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"Declan O'Gorman" <dex@dotinspiration.co.uk> wrote in message news:<bdati2$jjd$1@wisteria.csv.warwick.ac.uk>...
> Hi, > > Is there any way to make a page such that it doesnt sho up in a broswers > history? > > okay, heres the situation: > > i've got a page that detects if a user have flash 6.0... if so they get > redirted to page A, if not to page B. however if a user then clicks 'back' > they get suck, because they are eternally forward by the index page to > either page A, or page B. so i'd like to make it such that the index page > isnt encountered when clicking 'back'... > > any suggestions? > > Cheers ppl > > Dex > > ------- > DotInspiration > > web: http://www.dotinspiration.co.uk > email: dex*NOSPAM*@dotinspiration.co.uk Better than these two methods is probably using the header. <?php if (userHasFlash()) { header("Location: http://www.mysite.com/flash.html"); } else { header("Location: http://www.mysite.com/nonflash.html"); } ?> No there is no page that the user has to decide flash or nonflash and the back button works as expected. Gunnar Steinn |