469,963 Members | 1,885 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

How to disable the IE Back button



Hi,

we are doing an in house project in c#.net(asp.net).We wanted to close
our application when ever the user presses the SIGNOUT button. Even
though we programtically disconnects them from the database,when we
press the Internet explorers Back button ,all the browsed pages are
displayed with the data**.

1.could you pls tell me how to disable the back-button of IE

AND

2. How to Globally disconnect a user when he presses any button (like
signout of YAHOO,REDIFF ETC).
With Thanks
Raghuraman(a drop in the ocean)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
6 2640
Hi,

You cant disable the back button alone, but you can disable whole toolbar
using window.open options. Other option is disable caching of your pages,
for more details refere this link
http://www.extremeexperts.com/Net/Ar...stoFooter.aspx

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"Raghu Raman" <ra************@rediffmail.com> wrote in message
news:#R*************@TK2MSFTNGP11.phx.gbl...


Hi,

we are doing an in house project in c#.net(asp.net).We wanted to close
our application when ever the user presses the SIGNOUT button. Even
though we programtically disconnects them from the database,when we
press the Internet explorers Back button ,all the browsed pages are
displayed with the data**.

1.could you pls tell me how to disable the back-button of IE

AND

2. How to Globally disconnect a user when he presses any button (like
signout of YAHOO,REDIFF ETC).
With Thanks
Raghuraman(a drop in the ocean)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #2
Hi Raghu:

The best way to disable the Back button is (and this may sound funny,
but I'm being serious) to write your own browser. Seriously. Even if
you try to hide the back button, users can hit the backspace key or
use Alt + LeftArrow.

A better approach is to come to an understanding of why users love the
Back button, and write your application to become one with the back
button.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Thu, 28 Oct 2004 06:00:19 -0700, Raghu Raman
<ra************@rediffmail.com> wrote:


Hi,

we are doing an in house project in c#.net(asp.net).We wanted to close
our application when ever the user presses the SIGNOUT button. Even
though we programtically disconnects them from the database,when we
press the Internet explorers Back button ,all the browsed pages are
displayed with the data**.

1.could you pls tell me how to disable the back-button of IE

AND

2. How to Globally disconnect a user when he presses any button (like
signout of YAHOO,REDIFF ETC).
With Thanks
Raghuraman(a drop in the ocean)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 18 '05 #3


Hi ,

Thanks sarvan . i will try using the window.open options & i hope the
better way is to deal with the Cache.
Thanks
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #4


Hi ,

Thanks to al f u . i will try using the window.open options & i hope the
better way is to deal with the Cache.
Thanks
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #5
Hi. If you are using Forms authentication it should not happen that, even
when you hit the back button it will ask for user name and password again.

Regards,
Alejandro Penate-Diaz.

"Raghu Raman" <ra************@rediffmail.com> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...


Hi,

we are doing an in house project in c#.net(asp.net).We wanted to close
our application when ever the user presses the SIGNOUT button. Even
though we programtically disconnects them from the database,when we
press the Internet explorers Back button ,all the browsed pages are
displayed with the data**.

1.could you pls tell me how to disable the back-button of IE

AND

2. How to Globally disconnect a user when he presses any button (like
signout of YAHOO,REDIFF ETC).
With Thanks
Raghuraman(a drop in the ocean)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #6
DEAR Alex,

ya, am using the forms authentication. but am having the virtual dir in
a local system which am working in.

Shall i have to change any property, method etc.
With Regards
Raghu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by nntp | last post: by
14 posts views Thread by Sinity | last post: by
3 posts views Thread by Paul | last post: by
1 post views Thread by Terry Olsen | last post: by
16 posts views Thread by Barry Gilmore | last post: by
9 posts views Thread by Joe Delphi | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.