Page 1 of 1

Invalid Session Hash ...

Posted: Wed Jun 11, 2008 6:56 am
by Lux
Hi,

every now and then I get the error message "invalid session hash" when commenting in my own blog.

After resending the comment gets through is displayed.

Any idea what might be the reason?

Thanks

Dirk

Re: Invalid Session Hash ...

Posted: Wed Jun 11, 2008 10:12 am
by garvinhicking
Hi!

If you have enabled the setting "CSRF-Protection / Cookie hash" (or something like that) in your antispam plugin, then you need a valid session cookie before you comment. If you jump right to a page, without having been to the overview page or something else before, you do not have that hash.

It's a protection against people that come to your site directly and enter their spam. You can disable that, if you like.

Regards,
Garvin

Re: Invalid Session Hash ...

Posted: Wed Jun 11, 2008 10:42 am
by Lux
Hi Garvin,
garvinhicking wrote:If you have enabled the setting "CSRF-Protection / Cookie hash" (or something like that) in your antispam plugin, then you need a valid session cookie before you comment. If you jump right to a page, without having been to the overview page or something else before, you do not have that hash.
that is exactly the point ...

Unfortunately that hits also myself, even if I logged in.

How can I find out how many spams were found by that rule? (Which is thesearch criteria for the spamblocklog table?)

Thanks for your support

Dirl

Re: Invalid Session Hash ...

Posted: Wed Jun 11, 2008 10:45 am
by garvinhicking
Hi!

If you enabled spamblock logging, you can find it in the logfile or log-database.

I don't know for the exact criteria; try to make a comment when you load a URL without cookies (like from your RSS reader directly to the page) and then look for the most recent entry?

HTH,
Garvin

Re: Invalid Session Hash ...

Posted: Wed Jun 11, 2008 10:48 am
by Lux
garvinhicking wrote:I don't know for the exact criteria; try to make a comment when you load a URL without cookies (like from your RSS reader directly to the page) and then look for the most recent entry?
That is too easy. :-)

Thank you

Dirk