Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Disable brower Back button

Reply
Thread Tools

Disable brower Back button

 
 
Waldy
Guest
Posts: n/a
 
      01-17-2005
Hi there,
is it possible to disable the browser back button, or trap
the event and stop it?


 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      01-17-2005
No. It's likely best to solve the initial problem.

For example, if this is to prevent coming back to a past page, it's likely
best to avoid putting the page in the history or to handle coming back to
this page (the user could also put the page in its favorites and so own).

What is the exact problem ?

Patrice


--

"Waldy" <> a écrit dans le message de
news:eInvRLK$...
> Hi there,
> is it possible to disable the browser back button, or trap
> the event and stop it?
>
>



 
Reply With Quote
 
 
 
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      01-17-2005
No.
One way that can work in some situations is to open a new window. This new
window will have no history, therefore the back button will be disabled.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


"Waldy" <> wrote in message
news:eInvRLK$...
> Hi there,
> is it possible to disable the browser back button, or trap
> the event and stop it?
>
>



 
Reply With Quote
 
Waldy
Guest
Posts: n/a
 
      01-18-2005
I put a history.forward() script command at the top of the pages which I
don't want users going back to. That seems to work OK.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
request.brower Tina ASP .Net 3 03-31-2006 02:07 AM
forcing network users via a brower based login page =?Utf-8?B?UmljaGFyZCBPVA==?= Wireless Networking 3 01-27-2006 06:54 PM
New brower in ASP.Net but not a Pop up sweetpotatop@yahoo.com ASP .Net 4 01-26-2006 09:06 PM
disable the back button provide the users with my own button to go back. sylvia sil ASP .Net 1 12-29-2004 04:41 PM
Non IE brower issue Duncan Welch ASP .Net 2 12-09-2004 05:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57