473,769 Members | 1,632 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2801
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******** *****@TK2MSFTNG P11.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******** *******@TK2MSFT NGP11.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2772
by: Rob Smeets | last post by:
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,
6
3168
by: nntp | last post by:
I have a set of links which I want search engines to crawl them, but I want to disable them from my visitors, so I will ask the link owners to pay me to let me enable them. <a disabled href="#">bahbahbah</a> Does not work, as it is still clickable. It only changes the color to grey.
2
13274
by: techfuzz | last post by:
I scoured this group and others looking for the best way to disable a button after the first click to prevent multiple submissions, but never did find anything that worked like they said it would. I went ahead and wrote my own bit of code so I'm sharing it here for everyone. Even though it doesn't really disable the button by greying it out, it prevents the multiple submissions which it what I was attempting to prevent all along. ...
14
7195
by: Sinity | last post by:
Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when waiting for the server response. I tried to do this by adding a java script for the button. But, useless.. Please help! Thank you
3
2606
by: Paul | last post by:
Hi, just wondering if there is a way to disable the back button of the browser as I have a logoff page and would like to not allow the back operation? Guessing there may be a way to do it through java script. -- Paul G Software engineer.
1
6017
by: Terry Olsen | last post by:
Is there any way to disable the client browser "Back" and "Forward" buttons while on my site? Or how would I go about knowing that a page hit is caused by a back/forward navigation? I have discovered that my web app is definately NOT Back/Forward safe. It's really messing with my SQL data bigtime. Thanks.
16
3461
by: Barry Gilmore | last post by:
Is there a way to disable a button after it is clicked? I am trying to avoid having someone click on it twice while they wait for it to process. Thank you!
9
3994
by: Joe Delphi | last post by:
Hi, When users log out of my web application, I want to disable the back button so that they cannot "back into" the application after they have logged out. Can someone tell me the best way to do this? JD
6
29630
by: sspost | last post by:
how can i disable the back button for a browser? I have been reading a lot of forums but cant find any answer to it...other than opening up the page, in which i want to disable the browser in a new window(which i dont want to do) Is their a way to do it? using javascript or something? I have tried using the following but non of them actually disable the back button: window.history.forward(1); -- does not disable the back button
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9863
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.