diff --git a/web-server/root/surflets/add-html.scm b/web-server/root/surflets/add-html.scm index fe5353c..76529e1 100644 --- a/web-server/root/surflets/add-html.scm +++ b/web-server/root/surflets/add-html.scm @@ -53,7 +53,7 @@ (a (@ (href "javascript:history.go(-2)")) "New calculation (same session)")(br) (a (@ (href ,new-url)) "Close this session"))))))) ;; How to clear session data and go to another HTML page: - (send-error (status-code moved-temp) req + (send-error (status-code temp-redirect) req "/" "/") )) ; )) diff --git a/web-server/root/surflets/add-raw.scm b/web-server/root/surflets/add-raw.scm index 67650d8..ff05dfc 100644 --- a/web-server/root/surflets/add-raw.scm +++ b/web-server/root/surflets/add-raw.scm @@ -96,7 +96,7 @@ (send/suspend make-result-page) ;; This finishes the session and does a redirect to the root ;; page. - (send-error (status-code moved-temp) #f "/" "/")) + (send-error (status-code temp-redirect) #f "/" "/")) )) \ No newline at end of file