From: Wilfried Goesgens Date: Mon, 30 Jan 2012 23:24:05 +0000 (+0100) Subject: Refreshing: set cookie, so a user switching to a new language gets to the appropriate... X-Git-Tag: v8.05~9 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=80c230ed9cd3bb8a2a1f3430f83c131211aace87 Refreshing: set cookie, so a user switching to a new language gets to the appropriate language. --- diff --git a/webcit/webcit.c b/webcit/webcit.c index 944b457c8..8a96a1341 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -245,6 +245,7 @@ void http_redirect(const char *whichpage) { hprintf("Location: %s\r\n", whichpage); hprintf("URI: %s\r\n", whichpage); hprintf("Content-type: text/html; charset=utf-8\r\n"); + stuff_to_cookie(0); begin_burst(); wc_printf(""); wc_printf("Go here.", whichpage);