| | |
back button disable
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2008
Posts: 6
Reputation:
Solved Threads: 0
ya i have used session..
but not able to disable back button..
the coding i have used is
Response.buffer=true
Response.expires=60
response.ExpiresAbsolute= dateTime.noe.addsday(-1)
response.addHeader("{Pragma","no-cache")
response.addheader("cache-control","private")
response.cacheControl = "no-cache"
response.cache.setCacheability(Httpcacheability.Nocache)
but not able to disable back button..
the coding i have used is
Response.buffer=true
Response.expires=60
response.ExpiresAbsolute= dateTime.noe.addsday(-1)
response.addHeader("{Pragma","no-cache")
response.addheader("cache-control","private")
response.cacheControl = "no-cache"
response.cache.setCacheability(Httpcacheability.Nocache)
•
•
Join Date: Sep 2007
Posts: 1,080
Reputation:
Solved Threads: 68
You cannot disable the back button. It is just not possible.
You can hide the bars with code, but by right clicking, the "back" link is still there.
You can disable the right-click but the backspace still sends you back a page.
You can disable the backspace event, and you thought of everything.
Except when the user goes to the internet explorer File -> View -> Toolbars...
And then you have to start all over again. Like I said, it's just not possible ^^
You can hide the bars with code, but by right clicking, the "back" link is still there.
You can disable the right-click but the backspace still sends you back a page.
You can disable the backspace event, and you thought of everything.
Except when the user goes to the internet explorer File -> View -> Toolbars...
And then you have to start all over again. Like I said, it's just not possible ^^
![]() |
Similar Threads
- How to disable Back button of IE when executing welcome.aspx page? (ASP.NET)
- How to disable back button and backspace using Javascript..? (JavaScript / DHTML / AJAX)
Other Threads in the ASP.NET Forum
- Previous Thread: Temporary Web Page problem
- Next Thread: Back button in browser
Views: 2845 | Replies: 7
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol advice ajax alltypeofvideos anathor application asp asp.net bc30451 bottomasp.net browser button c# checkbox click commonfunctions confirmationcodegeneration css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dynamically edit editing expose feedback fill flash form formatdecimal formview google grid gridview iframe iis javascript list listbox login microsoft migration mono mouse mssql multistepregistration news numerical object objects opera panelmasterpagebuttoncontrols parent problem project radio registration reportemail richtextbox rotatepage rows save schoolproject search security session silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking unauthorized update validation vb.net video videos view virtualdirectory vista visualstudio web webapplications webdevelopemnt webprogramming webservice xsl youareanotmemberofthedebuggerusers






