aboutsummaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 16:16:02 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 16:16:02 +0100
commitae9a531b0f4b548e582a1026d072dd088326c1d5 (patch)
tree37543e261f66c78eee3115732d2c059316d8dd6c /index.cgi
parentdb2a9c5e4d6b7f602d77949a2579dcbbe5bd6cea (diff)
access control interface changed completely
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.cgi b/index.cgi
index bcff626..a3556ad 100755
--- a/index.cgi
+++ b/index.cgi
@@ -67,6 +67,7 @@ if $cgi.include?("create_poll")
escapedsite = SITEURL + CGI.escapeHTML(CGI.escape(SITE)) + "/edit_columns.cgi"
escapedsite.gsub!("+"," ")
$html.header["status"] = "REDIRECT"
+ $html.header["Cache-Control"] = "no-cache"
$html.header["Location"] = escapedsite
$html << "The poll was created successfully. The link to your new poll is:<br /><a href=\"#{escapedsite}\">#{escapedsite}</a>"
end