From: Raymond I. <xw...@ya...> - 2003-10-29 17:42:06
|
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 <do...@cr...> wrote: > Can you elaborate on this? > I am not clear as to how this snippet is being used. > > > ----- Original Message ----- > From: "Raymond Irving" <xw...@ya...> > To: <dyn...@li...> > 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 <de...@ti...> wrote: > > > Hi mate! > > > > > > How do you prevent using the backbutton? > > > > > > > > > /Daniel > > > > > > -----Original Message----- > > > From: dyn...@li... > > > [mailto:dyn...@li...] > On > > > Behalf Of Raymond > > > Irving > > > Sent: den 29 oktober 2003 15:16 > > > To: dyn...@li... > > > 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 <jy...@mo...> 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 > > > > Dyn...@li... > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > __________________________________ > > > 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 > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > __________________________________ > > 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 > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.530 / Virus Database: 325 - Release > Date: 10/22/03 > > > ------------------------------------------------------- > 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 > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |