Welcome Guest, Not a member yet? Register   Sign In
rails-like before_filter
#4

[eluser]dioony[/eluser]
maybe your solution may work if you want to filter all the functions. the main idea was to create a filter, where you can decide which functions will be filtered and which not (except and only mechanism).

i dont know how php or ci works, but if the constructor will only be called once for a session and not for each request, the authorization will only work for the first function-call and not for following function-calls. but i never dealt with something like that before...


Messages In This Thread
rails-like before_filter - by El Forum - 04-08-2008, 09:49 AM
rails-like before_filter - by El Forum - 04-08-2008, 09:53 AM
rails-like before_filter - by El Forum - 04-08-2008, 11:16 AM
rails-like before_filter - by El Forum - 04-09-2008, 09:52 AM
rails-like before_filter - by El Forum - 07-03-2008, 12:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB