=== modified file 'modules/comment.module'
--- modules/comment.module	
+++ modules/comment.module	
@@ -1323,7 +1323,9 @@ function comment_form($edit, $title = NU
   $form['uid'] = array('#type' => 'value', '#value' => $edit['uid']);
 
   $form['preview'] = array('#type' => 'button', '#value' => t('Preview comment'), '#weight' => 19);
-  $form['#token'] = 'comment' . $edit['nid'] . $edit['pid'];
+  if (variable_get('comment_preview', COMMENT_PREVIEW_REQUIRED) == COMMENT_PREVIEW_REQUIRED || !variable_get('cache', 0)) {
+    $form['#token'] = 'comment' . $edit['nid'] . $edit['pid'];
+  }
 
   // Only show post button if preview is optional or if we are in preview mode.
   // We show the post button in preview mode even if there are form errors so that
=== modified file 'modules/contact.module'
--- modules/contact.module	
+++ modules/contact.module	
@@ -336,7 +336,6 @@ function contact_mail_user() {
     else {
       drupal_set_title($account->name);
 
-      $form['#token'] = $user->name . $user->mail;
       $form['from'] = array('#type' => 'item',
         '#title' => t('From'),
         '#value' => $user->name .' &lt;'. $user->mail .'&gt;',
@@ -447,7 +446,6 @@ function contact_mail_page() {
     }
 
     if (count($categories) > 1) {
-      $form['#token'] = $user->name . $user->mail;
       $form['contact_information'] = array('#type' => 'markup',
         '#value' => variable_get('contact_form_information', t('You can leave us a message using the contact form below.')),
       );
