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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| common_page_cache.patch | 373 bytes |

#1
I'd think a simple $GLOBALS['conf']['cache'] = FALSE; in the form_alter hook will do.
#2
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
by the way, I'm talking about drupal 4.7