WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Caching textbox value (2 posts)

  1. wuandoe
    Member
    Posted 1 year ago #

    Hello,

    Does anyone know how to set an HTML input text field with a php function all the time and not use a cached version of it? I know that the plugin doesn't cache the comment form's input fields, but what if you have a custom one?

    I tried doing something like this, but of course this doesn't work cause the <!-- --> gets in the value.

    <input type="text" id="meh" name="meh" text="<!--dynamic-cached-content--><?php echo date();?><!-- echo date(); --><!--/dynamic-cached-content-->" />

    Does WP Super cache create a separate cache file for each unique user using the input field? I noticed that this was happening during my testing, but then I encounter an error where i was on the page with the input field and i got a value from a different user.

    Thanks :D

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. wuandoe
    Member
    Posted 1 year ago #

    Whoops.. I guess the title should be... Do not cache textbox value

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic