[pLog-svn] bad behavior diff
Jon Daley
plogworld at jon.limedaley.com
Tue Aug 29 16:43:57 GMT 2006
Mark - I thought you might want to see this diff, and since the plugin/svn
email hook isn't working, I will manually do it:
plog/plugins/badbehavior/bad-behavior>svn diff -r3900 post.inc.php
Index: post.inc.php
===================================================================
--- post.inc.php (revision 3900)
+++ post.inc.php (working copy)
@@ -37,8 +37,10 @@
// if ($screener + 5 > time())
// return "408d7e72";
// Posting too slow? 48 hr
- if ($screener + 172800 < time())
- return "b40c8ddc";
+ // LifeType mod by jondaley: since pages can be cached, the
+ // cookie might not be updated
+ // and this can get tripped incorrectly
+// if ($screener + 172800 < time())
+// return "b40c8ddc";
I am not entirely sure how it happened - ie. why my mother-in-law didn't
get a new copy of the page when she came back apparently more than 48
hours her prior viewing, and then hit the "search" button.
Maybe the cookie isn't getting set when the page is cached? It is
javascript, so that part shouldn't ever be cached, right?
More information about the pLog-svn
mailing list