drupal_page_footer() caches textimage captchas

njivy - March 21, 2007 - 17:03
Project:Textimage
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I don't know a way around this, except to hack common.inc. (See attached patch.)

Maybe we could introduce textimage_exit() to remove any cached captcha pages.

AttachmentSize
common_page_cache.patch373 bytes

#1

Heine - March 21, 2007 - 17:22

I'd think a simple $GLOBALS['conf']['cache'] = FALSE; in the form_alter hook will do.

#2

augustofagioli - September 18, 2007 - 16:52

thanks a lot Heine !

It works great for my website, where before that, the cache was enable and unauthenticated user couldn't create his/her account throught the imagetext captcha form

#3

augustofagioli - September 18, 2007 - 17:32

by the way, I'm talking about drupal 4.7

 
 

Drupal is a registered trademark of Dries Buytaert.