You need to sign in to do that
Don't have an account?
VIGNESH BALASUBRAMANIAN
Prevent go back to previous page in VF
Hi Everyone,
My requirements is when I click back button on browser from VF page error should be thrown.And Previous page should not be viewed.
Thanks,
Vignesh.B
My requirements is when I click back button on browser from VF page error should be thrown.And Previous page should not be viewed.
Thanks,
Vignesh.B
Let us know if it helps.
This is browser behaviour rather than anything to do with Salesforce/Visualforce, so you'd need to trap the backspace key in the browser through JavaScript and block the standard behaviour.
There's more discussion and code at :http:// http://stackoverflow.com/questions/1495219/how-can-i-prevent-the-backspace-key-from-navigating-back (http:// http://stackoverflow.com/questions/1495219/how-can-i-prevent-the-backspace-key-from-navigating-back)
Hope this will work.
Thanks
karthik
@ Bala & Karthik
Thanks for your replies.I found a Java Script which satisfied my requirement.. Thanks,
Vignesh.B