Welcome Guest, Not a member yet? Register   Sign In
Page caching and validation_errors
#7

[eluser]tt_jl[/eluser]
No, the URL does not change on form submission.

I have read the documentation and agree that the output class should work as you describe. However, in my case the cached file was being overwritten every time a URL is accessed, regardless if the cached file had expired or not. The only way I could prevent this from happening was to load a view without the $data parameter. To test this out I would access a specific link and then open up the cached file that was generated. I would then submit the form and then re-check the cached file. The cached file was overwritten with the most recent request (i.e. with the validation_errors() echoed), regardless if I had the cache set to expire after 60 minutes. Then I would refresh the page, check the cached file, and see that it was again overwritten - this time with no validation_errors(). Can you think of anything that would cause this to be happening?

Regardless, I switched over to the phil sturgeon library, which is working perfectly.


Messages In This Thread
Page caching and validation_errors - by El Forum - 11-25-2012, 08:33 AM
Page caching and validation_errors - by El Forum - 11-25-2012, 08:51 PM
Page caching and validation_errors - by El Forum - 11-26-2012, 01:11 AM
Page caching and validation_errors - by El Forum - 11-27-2012, 07:29 AM
Page caching and validation_errors - by El Forum - 11-27-2012, 05:22 PM
Page caching and validation_errors - by El Forum - 11-27-2012, 08:04 PM
Page caching and validation_errors - by El Forum - 11-28-2012, 01:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB