Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to disable forward and backward buttons of browser using js??
After logged in,its moving into homepage which contains 2 frameset and each framset contains 2 frames with buttons in it.my problem now is this frames are loading diffrently..

Page expiring is working successfully,when i logout and press back button.But when i click diffrent button all pages are loading diffrently.
Posted
Updated 3-Feb-11 22:03pm
v2

Have you googled for "disable forward button javascript"??
Here is one link that seems promising:
disable forward button javascript[^]
 
Share this answer
 
Comments
Espen Harlinn 6-Feb-11 8:05am    
Good link - 5+
Sergey Alexandrovich Kryukov 21-Feb-11 2:31am    
I voted 5, but first sentence in the link is "To disable the Browser's buttons do not makes any sense." This is the key, and this is correct.
--SA
hi,
just a look on the below link.I hope this may help you..


disable backward button using javascript[^]
 
Share this answer
 
Comments
Espen Harlinn 6-Feb-11 11:34am    
Good link too, my 5
Looks like you missed this tip: Browser back button issue after logout[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Feb-11 15:48pm    
Nice tip, good to know.
Vote 5 for both the tip and the answer.
--SA
Espen Harlinn 6-Feb-11 11:33am    
Another good answer, a 5
Sergey Alexandrovich Kryukov 21-Feb-11 2:35am    
I voted 5 for the reference and this Answer.
However, first statement should warn against it and advise to make site to be tolerant to navigation (this is possible, not very trivial), don't you think so?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900