Re: [racket-users] How to disable back button in web application

2019-09-21 Thread Jens Axel Søgaard
Den lør. 21. sep. 2019 kl. 10.05 skrev Marc Kaufmann < marc.kaufman...@gmail.com>: > Could I use the send/forward to essentially disable forms if I use as the > `action` attribute on the form an (embed-url ...), which will no longer > work later on? This will probably through an error if people

Re: [racket-users] How to disable back button in web application

2019-09-21 Thread Marc Kaufmann
I haven't had the time to test it, but I am wondering if calling (clear-continuations-table!) which send/forward does will delete all continuations, even those of other users. So suddenly links that other users want to use will also get wiped out. I probably won't have time to test today, but

Re: [racket-users] How to disable back button in web application

2019-09-21 Thread Marc Kaufmann
Could I use the send/forward to essentially disable forms if I use as the `action` attribute on the form an (embed-url ...), which will no longer work later on? This will probably through an error if people do the 'Go back, resubmit' cycle, but I don't mind throwing an error on that, rather than

Re: [racket-users] How to disable back button in web application

2019-09-20 Thread Jens Axel Søgaard
Den fre. 20. sep. 2019 kl. 13.51 skrev Marc Kaufmann < marc.kaufman...@gmail.com>: > Thanks Jens, yes the send/forward seems to at least address a few of the > cases that I have - not sure if it disallows the forms unless I use > continuations in the forms (right now I am not, mostly just sending

Re: [racket-users] How to disable back button in web application

2019-09-20 Thread Marc Kaufmann
Thanks Jens, yes the send/forward seems to at least address a few of the cases that I have - not sure if it disallows the forms unless I use continuations in the forms (right now I am not, mostly just sending the request to the current URL. I'll have to see. Yes, I worked through and read the

Re: [racket-users] How to disable back button in web application

2019-09-20 Thread Stephen De Gabrielle
Maybe also relevant https://docs.racket-lang.org/continue/index.html#%28part._.The_.Double_.Submit_.Error%29 The whole Continue tutorial is worth the time spent. s. On Fri, Sep 20, 2019 at 12:32 PM Jens Axel Søgaard wrote: > Is `send/forward` what you need? > > Den fre. 20. sep. 2019 kl.

Re: [racket-users] How to disable back button in web application

2019-09-20 Thread Jens Axel Søgaard
Is `send/forward` what you need? Den fre. 20. sep. 2019 kl. 11.43 skrev Marc Kaufmann < marc.kaufman...@gmail.com>: > Hi all, > > disclaimer: I am guessing that my current design simply doesn't allow me > (easily) what I want, but there may be a solution I am unaware of. > > In my Racket-powered

[racket-users] How to disable back button in web application

2019-09-20 Thread Marc Kaufmann
Hi all, disclaimer: I am guessing that my current design simply doesn't allow me (easily) what I want, but there may be a solution I am unaware of. In my Racket-powered website I want to disable the back button or keep people from using the back button to resubmit (with different data) a