View Data Issue |
I don't see much value in a fourth parameter because control of the cached data is already available in existing functions. Likewise, I think a new config setting adds complexity that could lead to more confusion due to unexpected behaviour than it intends to resolve.
If you feel the need to clear the cached view data the previously mentioned clear_vars() makes this trivial PHP Code: $this->load The loader class provides several other functions for manipulating cached view data. PHP Code: $this->load Documentation on these functions found here. I would be interested in knowing what "security hole" you see. I don't see it. IMO, if there is a problem with how "view data" works it is with the documentation. An explicit explanation of the caching mechanism and what that means for subsequently loaded views might eliminate a lot of "issue" reports and developer confusion. |
Messages In This Thread |
View Data Issue - by mertdogan - 10-12-2016, 01:57 PM
RE: View Data Issue - by dave friend - 10-12-2016, 02:16 PM
RE: View Data Issue - by mertdogan - 10-12-2016, 02:29 PM
RE: View Data Issue - by dave friend - 10-12-2016, 02:32 PM
RE: View Data Issue - by mertdogan - 10-13-2016, 01:43 AM
RE: View Data Issue - by Narf - 10-13-2016, 02:00 AM
RE: View Data Issue - by mertdogan - 10-13-2016, 02:26 AM
RE: View Data Issue - by InsiteFX - 10-12-2016, 06:28 PM
RE: View Data Issue - by mertdogan - 10-13-2016, 01:12 AM
RE: View Data Issue - by ciadmin - 10-12-2016, 07:01 PM
RE: View Data Issue - by dave friend - 10-13-2016, 07:43 AM
|