cookies rewritten to session
[mailer.git] / inc / modules / member / what-mydata.php
index 70f63e34783a90a72a8508f36d4f7fcce59f24fb..2a13fa112edc2d65b2fce4dae6765c2be0935a31 100644 (file)
@@ -275,7 +275,7 @@ WHERE userid=%d AND password='%s' LIMIT 1",
   bigintval($_POST['year']),
   bigintval($_POST['max_mails']),
   UID_VALUE,
-  $_COOKIE['u_hash']
+  $_SESSION['u_hash']
  ), __FILE__, __LINE__);
                        }
                         else
@@ -306,7 +306,7 @@ WHERE userid=%d AND password='%s' LIMIT 1",
   bigintval($_POST['year']),
   bigintval($_POST['max_mails']),
   UID_VALUE,
-  $_COOKIE['u_hash']
+  $_SESSION['u_hash']
  ), __FILE__, __LINE__);
                        }