PC Review


Reply
Thread Tools Rate Thread

Disabling the Back Button?

 
 
=?Utf-8?B?QnJ1Y2U=?=
Guest
Posts: n/a
 
      22nd Jun 2005
Does anyone know how to disable the Back button on the top of the browser?
More specifically, I want my users to be able to only go forward in my
website. I don't want them to have the ability to go backwards to pages they
have already seen. If anyone knows how to do this, please let me know.
 
Reply With Quote
 
 
 
 
Steve Easton
Guest
Posts: n/a
 
      22nd Jun 2005
About the only way I know would be to hide the toolbar.
Unfortunately, It doesn't work in all browsers.
Also, I "think" the ability is disabled by XP SP2

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

"Bruce" <(E-Mail Removed)> wrote in message
news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
> Does anyone know how to disable the Back button on the top of the browser?
> More specifically, I want my users to be able to only go forward in my
> website. I don't want them to have the ability to go backwards to pages they
> have already seen. If anyone knows how to do this, please let me know.



 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      22nd Jun 2005
You can not disable the browser's back button.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Bruce" <(E-Mail Removed)> wrote in message
news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
> Does anyone know how to disable the Back button on the top of the browser?
> More specifically, I want my users to be able to only go forward in my
> website. I don't want them to have the ability to go backwards to pages they
> have already seen. If anyone knows how to do this, please let me know.



 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      22nd Jun 2005
And then only if JavaScript is used to create the browser window.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Steve Easton" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> About the only way I know would be to hide the toolbar.
> Unfortunately, It doesn't work in all browsers.
> Also, I "think" the ability is disabled by XP SP2
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed............
> .......................with a computer
>
> "Bruce" <(E-Mail Removed)> wrote in message
> news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
>> Does anyone know how to disable the Back button on the top of the browser?
>> More specifically, I want my users to be able to only go forward in my
>> website. I don't want them to have the ability to go backwards to pages they
>> have already seen. If anyone knows how to do this, please let me know.

>
>



 
Reply With Quote
 
Craig Schiller
Guest
Posts: n/a
 
      22nd Jun 2005
I don't think you want to do this. If I were to visit your website, this would
cause me to leave immediately and never return.

Craig

Bruce wrote:

> Does anyone know how to disable the Back button on the top of the browser?
> More specifically, I want my users to be able to only go forward in my
> website. I don't want them to have the ability to go backwards to pages they
> have already seen. If anyone knows how to do this, please let me know.


 
Reply With Quote
 
Jon Spivey
Guest
Posts: n/a
 
      22nd Jun 2005
Hi Bruce,
Here's a good technical answer
http://www.aspfaq.com/show.asp?id=2017

My own view is that people are doing you a favour by visiting your site,
you're not doing them a favour by building a site for them. They're putting
money in your pocket, or whatever other motivation you have for building a
site. Would you visit Walmart if they said you can only come in if you visit
this aisle first, then you can only see the next aisle if you've already
been to that aisle.


--
Cheers,
Jon
Microsoft MVP

"Bruce" <(E-Mail Removed)> wrote in message
news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
> Does anyone know how to disable the Back button on the top of the browser?
> More specifically, I want my users to be able to only go forward in my
> website. I don't want them to have the ability to go backwards to pages
> they
> have already seen. If anyone knows how to do this, please let me know.



 
Reply With Quote
 
=?Utf-8?B?QnJ1Y2U=?=
Guest
Posts: n/a
 
      23rd Jun 2005
Thanks for the response. In regards to why I want to disable the button,
this site isn't for commerical or recreational use. I am an academic and I'm
trying to build this site for an online behavioral study. If they are
allowed to use the "Back" key, they would be able to look back at information
that I only want them to see one time.

"Jon Spivey" wrote:

> Hi Bruce,
> Here's a good technical answer
> http://www.aspfaq.com/show.asp?id=2017
>
> My own view is that people are doing you a favour by visiting your site,
> you're not doing them a favour by building a site for them. They're putting
> money in your pocket, or whatever other motivation you have for building a
> site. Would you visit Walmart if they said you can only come in if you visit
> this aisle first, then you can only see the next aisle if you've already
> been to that aisle.
>
>
> --
> Cheers,
> Jon
> Microsoft MVP
>
> "Bruce" <(E-Mail Removed)> wrote in message
> news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
> > Does anyone know how to disable the Back button on the top of the browser?
> > More specifically, I want my users to be able to only go forward in my
> > website. I don't want them to have the ability to go backwards to pages
> > they
> > have already seen. If anyone knows how to do this, please let me know.

>
>
>

 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      23rd Jun 2005
Use a pop-up window (Spawn from www.jimcoaddins.com will help create
this) for this section of the site. The pop-up requires JavaScript to
function, but can be set to not have toolbars. However, the Back
function may be available from the right-click menu, which cannot be
disabled in some browsers (e.g. FireFox).
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

"Bruce" <(E-Mail Removed)> wrote in message
news:5C1E3D07-FB21-4363-A05A-(E-Mail Removed)...
> Thanks for the response. In regards to why I want to disable the
> button,
> this site isn't for commerical or recreational use. I am an
> academic and I'm
> trying to build this site for an online behavioral study. If they
> are
> allowed to use the "Back" key, they would be able to look back at
> information
> that I only want them to see one time.
>
> "Jon Spivey" wrote:
>
>> Hi Bruce,
>> Here's a good technical answer
>> http://www.aspfaq.com/show.asp?id=2017
>>
>> My own view is that people are doing you a favour by visiting your
>> site,
>> you're not doing them a favour by building a site for them. They're
>> putting
>> money in your pocket, or whatever other motivation you have for
>> building a
>> site. Would you visit Walmart if they said you can only come in if
>> you visit
>> this aisle first, then you can only see the next aisle if you've
>> already
>> been to that aisle.
>>
>>
>> --
>> Cheers,
>> Jon
>> Microsoft MVP
>>
>> "Bruce" <(E-Mail Removed)> wrote in message
>> news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
>> > Does anyone know how to disable the Back button on the top of the
>> > browser?
>> > More specifically, I want my users to be able to only go forward
>> > in my
>> > website. I don't want them to have the ability to go backwards
>> > to pages
>> > they
>> > have already seen. If anyone knows how to do this, please let me
>> > know.

>>
>>
>>



 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      23rd Jun 2005
Or using JavaScript location.replace for all URLs will not generate a history (so the back key does nothing)
- The replace method does not create a new entry in the history list

See http://irt.org/script/244.htm
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Ronx" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
| Use a pop-up window (Spawn from www.jimcoaddins.com will help create
| this) for this section of the site. The pop-up requires JavaScript to
| function, but can be set to not have toolbars. However, the Back
| function may be available from the right-click menu, which cannot be
| disabled in some browsers (e.g. FireFox).
| --
| Ron Symonds
| Microsoft MVP (FrontPage)
| Reply only to group - emails will be deleted unread.
|
| "Bruce" <(E-Mail Removed)> wrote in message
| news:5C1E3D07-FB21-4363-A05A-(E-Mail Removed)...
| > Thanks for the response. In regards to why I want to disable the
| > button,
| > this site isn't for commerical or recreational use. I am an
| > academic and I'm
| > trying to build this site for an online behavioral study. If they
| > are
| > allowed to use the "Back" key, they would be able to look back at
| > information
| > that I only want them to see one time.
| >
| > "Jon Spivey" wrote:
| >
| >> Hi Bruce,
| >> Here's a good technical answer
| >> http://www.aspfaq.com/show.asp?id=2017
| >>
| >> My own view is that people are doing you a favour by visiting your
| >> site,
| >> you're not doing them a favour by building a site for them. They're
| >> putting
| >> money in your pocket, or whatever other motivation you have for
| >> building a
| >> site. Would you visit Walmart if they said you can only come in if
| >> you visit
| >> this aisle first, then you can only see the next aisle if you've
| >> already
| >> been to that aisle.
| >>
| >>
| >> --
| >> Cheers,
| >> Jon
| >> Microsoft MVP
| >>
| >> "Bruce" <(E-Mail Removed)> wrote in message
| >> news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
| >> > Does anyone know how to disable the Back button on the top of the
| >> > browser?
| >> > More specifically, I want my users to be able to only go forward
| >> > in my
| >> > website. I don't want them to have the ability to go backwards
| >> > to pages
| >> > they
| >> > have already seen. If anyone knows how to do this, please let me
| >> > know.
| >>
| >>
| >>
|
|


 
Reply With Quote
 
Jon Spivey
Guest
Posts: n/a
 
      23rd Jun 2005
Hi Bruce,

In that case I think Stefan's suggestion about using replace for all links,
eg
instead of
<a href="page.htm">go to this page</a>
do
<a href="page.htm" onclick="location.replace('page.htm'); return false;">go
to this page</a>

would be best, the only slight flaw is that anyone with jaascript disabled
would still be able to use back, there's no way around this

--
Cheers,
Jon
Microsoft MVP


"Bruce" <(E-Mail Removed)> wrote in message
news:5C1E3D07-FB21-4363-A05A-(E-Mail Removed)...
> Thanks for the response. In regards to why I want to disable the button,
> this site isn't for commerical or recreational use. I am an academic and
> I'm
> trying to build this site for an online behavioral study. If they are
> allowed to use the "Back" key, they would be able to look back at
> information
> that I only want them to see one time.
>
> "Jon Spivey" wrote:
>
>> Hi Bruce,
>> Here's a good technical answer
>> http://www.aspfaq.com/show.asp?id=2017
>>
>> My own view is that people are doing you a favour by visiting your site,
>> you're not doing them a favour by building a site for them. They're
>> putting
>> money in your pocket, or whatever other motivation you have for building
>> a
>> site. Would you visit Walmart if they said you can only come in if you
>> visit
>> this aisle first, then you can only see the next aisle if you've already
>> been to that aisle.
>>
>>
>> --
>> Cheers,
>> Jon
>> Microsoft MVP
>>
>> "Bruce" <(E-Mail Removed)> wrote in message
>> news:3D6CFEFC-C81A-41C4-9EB0-(E-Mail Removed)...
>> > Does anyone know how to disable the Back button on the top of the
>> > browser?
>> > More specifically, I want my users to be able to only go forward in my
>> > website. I don't want them to have the ability to go backwards to
>> > pages
>> > they
>> > have already seen. If anyone knows how to do this, please let me know.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Websites “disabling” the “Back” Button! Rob C Windows XP Help 5 1st Aug 2006 09:19 PM
Disabling IE back button Uhway Microsoft ASP .NET 3 12th May 2005 08:36 AM
Re: Disabling the Back button in IExplorer 6 Peter Morris Microsoft ASP .NET 6 12th Aug 2004 02:35 PM
Disabling Back Button Bink Windows XP Internet Explorer 1 28th Apr 2004 09:08 PM
Disabling back button Marina Microsoft ASP .NET 3 23rd Mar 2004 03:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:08 AM.