I'm trying to get this to work, manually, and I must be missing something.
Things are still showing up in the history.

--JYL

> Ok. We'll provide a new function from the server-side
> libraries called wsPreventHistory(). When this
> function is called it will prevent the client from
> clicking the back button.
>
> --
> Raymond Irving
>
> --- Jacob Levy <[EMAIL PROTECTED]> wrote:
>> Ah, and have that sent to the server side as a
>> hidden element, so that the
>> server can generate the "history.go(1)"...
>> Convoluted but works.
>>
>> --JYL
>>
>> > I don't believe this should be the default
>> behaviour.
>> > But we should make is an easy "switch", like
>> > ioElement.PreventHistory(true) or some such
>> >
>> > ----- Original Message -----
>> > From: "Raymond Irving" <[EMAIL PROTECTED]>
>> > To: <[EMAIL PROTECTED]>
>> > Sent: Wednesday, October 29, 2003 12:42 PM
>> > Subject: Re: [Dynapi-Dev] browser history and RPC
>> >
>> >
>> >>
>> >> Ok.
>> >>
>> >> When using ioelmsrv.jscript.asp to send data to
>> the
>> >> client you can use the addJSCommand() function to
>> have
>> >> the "history.go(1);" command execute on the
>> client.
>> >> This will prevent the user from clicking the back
>> >> button.
>> >>
>> >> Should we add this behavior ioelmsrv as the
>> default?
>> >> In this way users will not be able to click the
>> back
>> >> button.
>> >>
>> >> --
>> >> Raymond Irving
>> >>
>> >>
>> >> --- Doug Melvin <[EMAIL PROTECTED]>
>> wrote:
>> >> > Can you elaborate on this?
>> >> > I am not clear as to how this snippet is being
>> used.
>> >> >
>> >> >
>> >> > ----- Original Message -----
>> >> > From: "Raymond Irving" <[EMAIL PROTECTED]>
>> >> > To: <[EMAIL PROTECTED]>
>> >> > Sent: Wednesday, October 29, 2003 9:53 AM
>> >> > Subject: RE: [Dynapi-Dev] browser history and
>> RPC
>> >> >
>> >> >
>> >> > >
>> >> > > when you send javascript down to the client
>> use
>> >> > > <script>
>> >> > >    history.go(1);
>> >> > > </script>
>> >> > >
>> >> > > --- Daniel Tiru <[EMAIL PROTECTED]> wrote:
>> >> > > > Hi mate!
>> >> > > >
>> >> > > > How do you prevent using the backbutton?
>> >> > > >
>> >> > > >
>> >> > > > /Daniel
>> >> > > >
>> >> > > > -----Original Message-----
>> >> > > > From:
>> [EMAIL PROTECTED]
>> >> > > >
>> [mailto:[EMAIL PROTECTED]
>> >> > On
>> >> > > > Behalf Of Raymond
>> >> > > > Irving
>> >> > > > Sent: den 29 oktober 2003 15:16
>> >> > > > To: [EMAIL PROTECTED]
>> >> > > > Subject: Re: [Dynapi-Dev] browser history
>> and
>> >> > RPC
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > Yes SODA has the same problem.
>> >> > > >
>> >> > > > Normally when I'm writing dynamic apps I
>> prevent
>> >> > the
>> >> > > > users from using the browsers back button.
>> IMO
>> >> > it's
>> >> > > > not good to have the back button active
>> when
>> >> > you're
>> >> > > > doing dynamic stuff.
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > Raymond Irving
>> >> > > >
>> >> > > >
>> >> > > > --- Jacob Levy <[EMAIL PROTECTED]> wrote:
>> >> > > > > I'm trying to learn how to write a SODA
>> server
>> >> > > > side
>> >> > > > > for Tcl, and in the
>> >> > > > > process got JSRS up and running
>> >> > > > >
>> (http://www.ashleyit.com/rs/jsrs/test.htm)
>> >> > > > > with tclhttpd as a smaller milestone. You
>> can
>> >> > see
>> >> > > > my
>> >> > > > > meager effort here:
>> >> > > > > http://mod3.net:8888/jsrs22/test.htm
>> >> > > > >
>> >> > > > > I noticed that even though I use
>> >> > > > location.replace()
>> >> > > > > (where possible) it
>> >> > > > > still fills my browser history, the back
>> >> > button
>> >> > > > gets
>> >> > > > > a very long history
>> >> > > > > very quickly.. :) I noticed this on IE6
>> and
>> >> > NN7 on
>> >> > > > > WinXP, others saw
>> >> > > > > similar behavior with browsers on MacOSX
>> and
>> >> > > > Linux.
>> >> > > > >
>> >> > > > > Question: does the dynapi SODA have this
>> >> > problem,
>> >> > > > > and if not, how did you
>> >> > > > > avoid it?
>> >> > > > >
>> >> > > > > Other than that, I'm happy to report that
>> I am
>> >> > > > > making slow progress
>> >> > > > > creating a Tcl equivalent of the server
>> side
>> >> > for
>> >> > > > > SODA, using the PHP code
>> >> > > > > as a template.
>> >> > > > >
>> >> > > > > --JYL
>> >> > > > >
>> >> > > > >
>> >> > > > >
>> >> > > > >
>> >> > > > >
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>>
> -------------------------------------------------------
>> >> > > > > This SF.net email is sponsored by: The
>> SF.net
>> >> > > > > Donation Program.
>> >> > > > > Do you like what SourceForge.net is doing
>> for
>> >> > the
>> >> > > > > Open
>> >> > > > > Source Community?  Make a contribution,
>> and
>> >> > help
>> >> > > > us
>> >> > > > > add new
>> >> > > > > features and functionality. Click here:
>> >> > > > http://sourceforge.net/donate/
>> >> > > > >
>> >> > _______________________________________________
>> >> > > > > Dynapi-Dev mailing list
>> >> > > > > [EMAIL PROTECTED]
>> >> > > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>>
> http://www.mail-archive.com/[EMAIL PROTECTED]/
>> >> > > >
>> >> > > >
>> >> > > > __________________________________
>> >> > > > Do you Yahoo!?
>> >> > > > Exclusive Video Premiere - Britney Spears
>> >> > > >
>> http://launch.yahoo.com/promos/britneyspears/
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > >
>> >> >
>> >>
>>
> -------------------------------------------------------
>> >> > > > This SF.net email is sponsored by: SF.net
>> >> > Giveback
>>
> === message truncated ===
>
>
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to