[llvm-commits] CVS: llvm-www/releases/register.cgi
criswell at cs.uiuc.edu
Tue Dec 16 15:05:04 PST 2003
Changes in directory llvm-www/releases:
register.cgi updated: 1.5 -> 1.6
Added the ability to set a cookie.
Diffs of the changes: (+10 -2)
diff -u llvm-www/releases/register.cgi:1.5 llvm-www/releases/register.cgi:1.6
--- llvm-www/releases/register.cgi:1.5 Mon Dec 15 13:15:11 2003
+++ llvm-www/releases/register.cgi Tue Dec 16 15:04:27 2003
@@ -5,6 +5,7 @@
# List of email addresses that want to know when people download
notifylist=['vadve at cs.uiuc.edu', 'criswell at uiuc.edu', 'sabre at nondot.org']
@@ -159,7 +160,7 @@
print ('Status: 400 Bad Request')
- print ('Error in form:' + error)
+ print ('Error in form: ' + error)
@@ -174,7 +175,14 @@
-# Everything so far has worked. Send the user to the download page.
+# Create a cookie so that the user does not need to register again.
+usercookie = Cookie.SimpleCookie()
+usercookie['LLVM Download'] = 'Yes'
+# Send the user to the download page.
print ('Location: /releases/download.html')
More information about the llvm-commits