Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to make the browsers back buttotn disable how do i do it...?
Posted
Updated 29-Feb-12 4:06am
v2
Comments
[no name] 29-Feb-12 10:06am    
Check your keyboard, it appears the ? key may be sticking.
Edited question to remove extra ???????????????????????????????????????

Have a look at this codeproject tip

Browser back button issue after logout[^]


General rule - forget about the browsers back button. That's on the client and it's not yours to disable. Instead, you should use the techniques described in the article so that if the user does click the back button, your site works in the correct way - e.g redirects to a login page or whatever.
 
Share this answer
 
Comments
ChandanBadgujar 1-Mar-12 1:56am    
ok but if i clear history of my client it not too good for my site. so please any other solution.....
Dylan Morley 1-Mar-12 4:01am    
What is it you are trying to achieve? Why don't you want the user to go back to the previous page?

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