Welcome Guest, Not a member yet? Register   Sign In
Architectural question
#1

[eluser]i_am_using_ci[/eluser]
Hi, I got a problem while developing my application with CI:

I have admin class which handles some methods, also this class has internal login/logout methods, it's based on sessions.

The problem is: I wan't to deny usage of any method except login/logout to unauthorized users, how can it be done? I've tried to make some checks in __construct() and wrote internal library for this, but I got infitity redirect when I'm trying to redirect unauthorized user.

How can I fix my architectural problem?


Messages In This Thread
Architectural question - by El Forum - 01-12-2009, 06:24 AM
Architectural question - by El Forum - 01-12-2009, 08:25 AM
Architectural question - by El Forum - 01-12-2009, 08:29 AM
Architectural question - by El Forum - 01-12-2009, 08:59 AM
Architectural question - by El Forum - 01-12-2009, 09:18 AM
Architectural question - by El Forum - 01-12-2009, 09:29 AM
Architectural question - by El Forum - 01-12-2009, 09:40 AM
Architectural question - by El Forum - 01-12-2009, 09:51 AM
Architectural question - by El Forum - 01-13-2009, 12:16 AM
Architectural question - by El Forum - 01-13-2009, 07:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB