Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2009, 02:39 AM
Authorized User
 
Join Date: Jul 2008
Posts: 18
Thanks: 0
Thanked 2 Times in 2 Posts
Default control over browser back button

Hi friends,

i have a page which has set of approve hyper links.

Once user click on approve hyper link the page is forwarding to approve.php and working fine.

when clicking back button the approve page is loading again and its asking for appore/reject option again for the same name

which i dont want.

is there any way to prevent this?

Thanx in advance
 
Old March 5th, 2009, 01:32 PM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

There are a number of options but most sites set the expiry for the page to be extremely short so that it is not cached and therefore reloads properly. You also need to check, either server-side or possibly with some sort of cookie flag, what options should be presented to the user when the page is constructed.
__________________
Joe
http://joe.fawcett.name/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling Back button of browser software_developer_kk Classic ASP Basics 7 September 27th, 2007 03:22 PM
browser back button Dj Kat Javascript How-To 1 February 22nd, 2006 06:33 AM
Browser back button karetaker ADO.NET 2 November 5th, 2004 02:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.