<!--add this to the page you Dont want 
people to click the back button on! fakes the browser to think the 
current page is the back page-->
<script language="JavaScript">
<!--
  javascript:window.history.forward(1);
//-->
</script>



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Scott Cadillac
Sent: Tuesday, July 30, 2002 1:31 PM
To: Multiple recipients of list witango-talk
Subject: Re: Witango-Talk: [OT] JavaScript to prevent back button

Hi Dan,

Try:

location.replace('witango.taf?_function=something')

This loads pages BUT does not create a reference in the Browser History
-
thus, 'BACK' will not go back to the specified page, but will skip past
it
and go to whatever previous page may have been loaded before it.

Obviously, this method will involve some changes to how you call and
Post
pages. I suggest spending some time experimenting with this.

As for manipulating existing Browser History - I don't think it can be
done
because I would think that it violates your personal Browser Security.

Hope this helps. Cheers...

Scott Cadillac
http://xml-extra.net
[EMAIL PROTECTED]

http://witango.org
[EMAIL PROTECTED]

VP, Research and Development
Plus International Corp.
604-469-6543
[EMAIL PROTECTED]
http://www.plusinternational.com

Vancouver, BC, Canada

Does your company have an Enterprise Information Portal? Check out Salsa
at
www.plusinternational.com/flash/salsa.htm

----- Original Message -----
From: "Dan Stein" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk"
<[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 1:16 PM
Subject: Re: Witango-Talk: [OT] JavaScript to prevent back button


> Neat idea but with dynamic pages I don't think it will work. No .htm
go
go
> back to.
>
> There must be some way to force the history to be deleted.
>
> Otherwise I am forced to start the site with toolbars=no for the page
and
I
> guess that will keep it that way throughout the site. Advantage is it
will I
> could turn off the URL part also so they couldn't hack the post args.
>
> But I think users might be freaked when the toolbar goes away.
>
>
> --
> Dan Stein
> Digital Software Solutions
> 799 Evergreen Circle
> Telford PA 18969
> Land: 215-799-0192
> Mobile: 610-256-2843
> Fax 413-410-9682
> FMP, WiTango, EDI,SQL 2000
> [EMAIL PROTECTED]
> www.dss-db.com
>
>
> > From: "James MacFarlane" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Tue, 30 Jul 2002 15:57:55 -0400
> > To: Multiple recipients of list witango-talk
<[EMAIL PROTECTED]>
> > Subject: RE: Witango-Talk:  [OT] JavaScript to prevent back button
> >
> > If you have page A and page B and you don't want users to be able to
press
> > BACK on page B to go to Page A you can insert a page between page A
and
B
> > (Call it Page A1) that says (or something like):
> >
> > <script language=javascript>
> > document.location="PageB.htm"
> > </script>
> >
> > Then you make sure page A never calls Page B directly, but calls
PageA1
> > instead. This won't stop the user form using their history to go
back
to
> > Page A though, but will just keep forwarding the person to Page B if
they
> > do.
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Stein
> > Sent: Tuesday, July 30, 2002 3:47 PM
> > To: Multiple recipients of list witango-talk
> > Subject: Witango-Talk: [OT] JavaScript to prevent back button
> >
> >
> > I want to make sure once users logout there is no way for them to go
back
> > using the back button.
> >
> > I assume it is a JavaScript thing. I would also like to use it on a
few
> > other pages.
> >
> > I prefer not to take the back button from the toolbar ( rather take
the
> > toolbar away is what I mean).
> >
> > Dan
> >
> > --
> > Dan Stein
> > Digital Software Solutions
> > 799 Evergreen Circle
> > Telford PA 18969
> > Land: 215-799-0192
> > Mobile: 610-256-2843
> > Fax 413-410-9682
> > FMP, WiTango, EDI,SQL 2000
> > [EMAIL PROTECTED]
> > www.dss-db.com
> >
> >
> >
________________________________________________________________________
> > TO UNSUBSCRIBE: send a plain text/US ASCII email to
[EMAIL PROTECTED]
> >               with unsubscribe witango-talk in the message body
> >
> >
________________________________________________________________________
> > TO UNSUBSCRIBE: send a plain text/US ASCII email to
[EMAIL PROTECTED]
> >               with unsubscribe witango-talk in the message body
> >
>
>
________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to
[EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body


________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to