469,602 Members | 1,977 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

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 2604
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Dennis Allen | last post: by
1 post views Thread by Patrick Delifer | last post: by
8 posts views Thread by ORC | last post: by
3 posts views Thread by Stan Huff | last post: by
1 post views Thread by Bob | last post: by
4 posts views Thread by Matrixreloadedth | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.