472,119 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

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 2678
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

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.