On 12/20/2019 8:45 AM, Marc Kaufmann wrote:
reading a past thread started by me, I realize that I should have learned how to implement Philip's advice on using stateless continuations, but well I didn't. So I still use vanilla `send/suspend/dispatch` and hence my users hit the "Sorry, this page has expired. Please go back." The quick fix is to tell them that they should go to page xyz.com. But I don't know how I can easily change this error message to add a link. Anyone?

I'm about to leave for travel or else I would have done some digging around.

PS: For some reason I keep hitting these errors faster than in the past - as in, within a few minutes. Any idea why that might be and how to increase the time? I can crank up the RAM of the machine too, anything that cuts down on developer time really. I'll be back in the new year to actually fix this, but not now.

Did you perhaps change the continuation manager - or its setup?
https://docs.racket-lang.org/web-server/servlet.html?q=ffi#%28part._managers%29

As to where to put your message: you can install a custom "expiration" handler in the continuation manager.  Unfortunately I haven't done this in a very long time, so I can't guide you through it.  Perhaps someone (Jay?) knows exactly what to do.

George

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/85246bf7-7ba3-1d21-e6d0-17846a9bd498%40comcast.net.

Reply via email to