drupal - Read/write data with blocks on Boost cached pages -


i have module supplies block. block set block_no_cache, , content pulled function. lets site admin create 'message' display on site, kind of cnn, breaking update displayed @ top, , user can close hitting x. when close it, action written , uuid written cookie don't see message again.

i getting reports boost users when closes message, closes everyone. assume because boost caching page , serving cached page after closed message.

how can make module work people using boost?

i thought maybe hook_boot might work, but, again not sure if there better way address this.

hook_boot not it. once page in cache no php run. need have block loaded via ajax because state of block dependent upon cookie. http://drupal.org/project/ajaxblocks , http://drupal.org/project/ajaxify_regions 2 projects this.

also hard breaking updates out if page cached. have similar issues varnish users well.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -