[pLog-svn] bad behavior diff
Jon Daley
plogworld at jon.limedaley.com
Tue Aug 29 16:48:36 GMT 2006
Oh, I forgot that this plugin requires a mod to index.php, so
caching can't be the problem...
On Tue, 29 Aug 2006, Jon Daley wrote:
> 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?
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
01 potato, 10 potato, 11 potato, xor!
-- Gary Young
More information about the pLog-svn
mailing list