Welcome Guest, Not a member yet? Register   Sign In
DX Auth 1.0.6 (Authentication library)

[eluser]predat0r[/eluser]
on stackoverflow I found a CI auth lib compare article, at DX_Auth it said the following:

"Role system is a complete mess: is_admin function with hard-coded role names, is_role a complete mess, check_uri_permissions is a mess, the whole permissions table is a bad idea (a URI can change and render pages unprotected; permissions should always be stored exactly where the sensitive logic is)"

How can sb change the URI, and the permission part in this comment I dont see clearly..

[eluser]Awilum[/eluser]
DX Auth version 1.0.6 in CI 2.0.2 dont work!

url /index.php/auth/login/

Fatal error: Class 'Controller' not found in -------\application\controllers\auth.php on line 3

[eluser]predat0r[/eluser]
[quote author="Awilum" date="1306799737"]DX Auth version 1.0.6 in CI 2.0.2 dont work!

url /index.php/auth/login/

Fatal error: Class 'Controller' not found in -------\application\controllers\auth.php on line 3[/quote]

You have to change Controller, Model to CI_Controller and CI_Model in your files
And the constructor :
function __construct() {
parent::__construct();
}

[eluser]Awilum[/eluser]
All DX Auth files ?

[eluser]predat0r[/eluser]
Yes because you use 2.0.2. If you start to code a page you set this new way all your php files, isn't it?

[eluser]Aakika[/eluser]
Hello,

Can you shed some light as to why dx_auth library would loose session to another controller?

Thanks.

[eluser]Aakika[/eluser]
Hello,

Can you please shed some light on why dx_auth would loose sessions to my admin controllers.

What is the latest version of dx_auth to use with CI 2.2?

Thanks in advance for your wisdom.

[eluser]nyxynyx[/eluser]
Is DX_auth still being maintained? I'm planning to work on the authentication section of my website and DX_auth seems to have good documentations!

[eluser]JimmyPHP[/eluser]
I would go over this link first:
http://stackoverflow.com/questions/34698...ry-is-best
http://konyukhov.com/soft/tank_auth/

Also have a look here:
http://benedmunds.com/ion_auth/

These will help you choose the right auth library for your project.

Good Luck

[eluser]Unknown[/eluser]
someone waiting...???

I move to ion_auth LoL.




Theme © iAndrew 2016 - Forum software by © MyBB