Enigma response multiple submissions
July 5, 2007, 5:56 pm by annihilate in Programming
Recently it seems that the addition of an enigma response is having a bit of a problem. The result of this is that users are hitting the Submit button again and again. And this is actually producing multiple responses all with the same text by that user.
So today, I have added in a bit of code to check the most recent response. If you then try and add another response when you are the most recent responder, it will let you know and not add the response. For those who genuinely need to add another response, I will soon add the ability for a user to edit their last response, so any updates can be added to that rather than posting a new one.
Posted 1 year ago by matt
Just got your email about the new domain name.
I thought you might like to know there is a way to redirect requests for any pages at the old domain to this new domain. This stops there being invalid pages in search results, broken bookmarks from users and so on.
It uses the .htaccess file and the following contents. Only this one file is needed in the old web space. I have used this approach with several web moves.
RewriteEngine ON
RewriteRule ^(.*)$ http://www.newenigma.com/$1 [R=301,L]
Feel free to read up on this at the following places:
http://www.gnc-web-creations.com/301-redirect.htm
http://www.webweaver.nu/html-tips/web-redirection.shtml
http://en.wikipedia.org/wiki/URL_redirection#Using_.htaccess_for_Redirection
I hope this information is helpful,
matt