In the context of my RESTXQ Web service that uses web:redirect, when the
process is done I want to return to the original page and on that page
display a message indicating that the process succeeded or failed.
My initial attempt was simply to redirect to the page and use a query
parameter to convey the message. The REST handler then checks for the
message and if present shows it in the generated page.
The problem I'm running into is that the query parameter persists in the
URL so if the user refreshes the page the message is still there, even
though it's no longer relevant.
There must be a way to do what I want but I'm not sure what it is. Based
on my research I think I can do a form POST instead of a GET but that
seems kind of heavy weight. Is there a simpler/better way to achieve this
effect? I didn't see anything obvious in the RESTXQ docs.
Thanks,
Eliot
----
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com