posted 23 years ago
As for whether or not it is a good idea, that depends on the project or reason for it. If it for design or navigation purposes then that would be ok. for instance of the user selects a choice about their preferences for someting then you can take them to a page based on those preferences and replace the history with that page so they don't accidently go back to the choice menu again (that's a fairly lame example, sorry).
As for your problem, why do the pages in your app need the history to be deleted? If you really have to have it done you can just include a piece of Javascript to set the history to a default page or to null. That way of they go back to it then they end up at a default page that says they did something wrong or that they can't go back. The other option you have is to run the pages in a window that doesn't have any toolbars then there is no back button for them to use (they can still right click though and get a 'back' command on the menu).
If you need more info, send more details on your particular reasons and the what functionality you need.
Dave