Welcome Guest, Not a member yet? Register   Sign In
Security issue!
#11

[eluser]mrahman[/eluser]
[quote author="pieter dekker" date="1194967026"]
It's easy to understand that views shouldn't contain sensitive data. But how do you display sensitive data? Do I need to call from the view to a controller function?
How do you display sensitive data?
[/quote]

all of the solutions above are perfect. but as an answer: yes you might call a controller function from the view, in this case
Code:
get_instance()->checkLogin()
this is not practical though. if you load the view form a deffirent controller that will not work unless you add this method to each controller that loads that view. not good! now i don't recommend my own solution.


Messages In This Thread
Security issue! - by El Forum - 11-12-2007, 03:28 PM
Security issue! - by El Forum - 11-12-2007, 04:16 PM
Security issue! - by El Forum - 11-12-2007, 05:45 PM
Security issue! - by El Forum - 11-12-2007, 06:07 PM
Security issue! - by El Forum - 11-13-2007, 03:00 AM
Security issue! - by El Forum - 11-13-2007, 03:17 AM
Security issue! - by El Forum - 11-13-2007, 03:49 AM
Security issue! - by El Forum - 11-13-2007, 09:40 AM
Security issue! - by El Forum - 11-13-2007, 09:57 AM
Security issue! - by El Forum - 11-13-2007, 12:10 PM
Security issue! - by El Forum - 11-13-2007, 07:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB