QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: Revenge of the Back Button
Views: 2623, Unique: 2210 
Subscribers: 11
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages    << 20-23  19-19 of 23  3-18 >>
About these ads
Who | When
Messagessort recent-top   
Post a new message
 
Josh  19
08-07-2003 01:25 PM ET (US)

I'm going to have to agree with Greg and Wong Kokkong. There are definitely scenarios where a way to programmatically (through JavaScript and/or VBScript) disable the back button on the client. Although somebody would find a way to abuse this feature of the client-side languages, I offer another scenario where this is almost a must.

I'm building a session based application. When the session times out a user should not be able to go back to the previous page(s) to see the security restricted information therein. If a malicious person gains access to a user's computer and hits the back button a couple times, all of that information is there in plain view.

It would be really, really nice to simply do a "history.clear();" or something like that to accomplish this.

And, again, I do understand the arguement that somebody is going to abuse this functionality if it were ever available, but I offer up this one snippet of code:

<body onLoad="popupAdvertisementWindow();">

It's already been done once, why not again?! I'm dead serious. What's the worst that could happen? Maybe I'm missing something.

Now that I'm done with my rant, does anybody have any ideas to solve my problem?

The only thing I've come up with is using the replace() method for all links within the site. First of all, not very fun (especially since I've already written all the links), and secondly, this is really not fun if you're trying to POST information to a page (you'd have to gather all the form elements into string to be passed to the replace method, and then there's url length limitations, etc).

Thanks!
RSS link What's this?
All messages    << 20-23  19-19 of 23  3-18 >>
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.