473,499 Members | 1,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is it possible to disable the back-button, from the server side??

Hi

I was wondering, is it possible to disable the back button in internet
explorer.
Our Website is hosting a Siebel website, and the problem is that Siebel has
problems with the use of the back button in internet explorer. I can't make a
customized internet explorer because the site must be accesible anywere.
So i need to do it from the server side... Any Ideas??

Thanks in Advance,

Rob Smeets
Jul 22 '05 #1
2 2742
Add this code in the page you don't want your users to come back:

<SCRIPT LANGUAGE=javascript>
<!--
history.go(+1);
//-->
</SCRIPT>
"Rob Smeets" <Ro*******@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
Hi

I was wondering, is it possible to disable the back button in internet
explorer.
Our Website is hosting a Siebel website, and the problem is that Siebel
has
problems with the use of the back button in internet explorer. I can't
make a
customized internet explorer because the site must be accesible anywere.
So i need to do it from the server side... Any Ideas??

Thanks in Advance,

Rob Smeets

Jul 22 '05 #2
Mauricio Reyes wrote:
I was wondering, is it possible to disable the back button in
internet explorer.
Add this code in the page you don't want your users to come back:

<SCRIPT LANGUAGE=javascript>
<!--
history.go(+1);
//-->
</SCRIPT>

So, in other words , since you provided client-side script, the answer is
that it is not possible to disable the back button from the server-side
code.

This solution may have unintended consequences. Instead of attempting to
mess with the users' browsers, engineer your application so that it will not
matter if the back button is used. I don't know what a "Siebel website" is,
so I cannot get specific.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2857
by: Dennis Allen | last post by:
Hi. What's the best way to display an image, disabling the user's ability to right-click on it? I believe you have to use <body oncontextmenu="return false">. Would the following work? var...
1
2560
by: Patrick Delifer | last post by:
Is there a way to not let a page scroll back to the top if the user has scrolled down and the page is refreshed? Users are selecting Datagrid items and they are always brought back to the top when...
8
40205
by: ORC | last post by:
Hi, Is it possible to disable an event like e.g. disabling: private void textBox1_TextChanged(object....) ? Thanks, Ole
3
1644
by: Stan Huff | last post by:
Is there any way to disable the "params" on a particular invocation so that one can pass an array containing the arguments and not have receiver get an array having you argument array stuffed into...
13
14554
by: Rich | last post by:
Hello, So I would like to disable a textbox on a vb.net form without the text getting grayed out. In vb6 I could place a textbox control on a frame control and disable the frame leaving the...
7
22977
by: Scott Emick | last post by:
How can I disable events for the controls on a form? I tried setting the form's enable property to false, but that doesn't stop events from firing on its controls. I need to temporarily disable...
1
1771
by: Bob | last post by:
Does anyone know how to disable javascript in the new Netscape 8 -- for off line testing (like can be done readily with the current MSIE, Firefox or Opera browsers) ? When I try tools -> options...
4
10382
by: Matrixreloadedth | last post by:
How to change disable color of Checkbox??? I have a checkbox with forecolor in red but when i disable by set Enable properties to false forecolor is changed to gray color but i don't want it. how...
2
5138
by: Mirovk | last post by:
Hi, I would like to disable the navigation bar in IE to force my web users to use the application´s navigation buttons. Ideas welcome, Thanks...
3
5948
by: j0rd4n | last post by:
I have a user control that needs to allow vertical scrolling but not horizontal scrolling. In the user control's resize event, I need to adjust the size of all the children controls. For this to...
0
7014
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7229
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7395
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5485
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3108
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
311
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.