Connecting Tech Pros Worldwide Forums | Help | Site Map

How to disable browser back button

Newbie
 
Join Date: Feb 2008
Location: India
Posts: 17
#1: Feb 26 '08
How to disable our browser back button? help me please

Newbie
 
Join Date: Feb 2008
Posts: 1
#2: Feb 26 '08

re: How to disable browser back button


try this...

Paste this code below the Page

<Script>
window.history.forward(1);
</Script>

Sanoob K A
Shashi Sadasivan's Avatar
Moderator
 
Join Date: Aug 2007
Location: Brisbane, Australia
Posts: 1,414
#3: Feb 26 '08

re: How to disable browser back button


set the
SetCacheability(HttpCacheability.NoCache)

this tells the browser not to cache the page, hence the back buttons are just a mere showpiece
Newbie
 
Join Date: Feb 2008
Location: India
Posts: 17
#4: Feb 27 '08

re: How to disable browser back button


Hi friends. How can I clear the history of a browser page... Urgent
Reply


Similar .NET Framework bytes