Welcome Guest, Not a member yet? Register   Sign In
postgres users authentication
#4

[eluser]XeRGi0[/eluser]
It works, but it wasn't the third parameter, it was the second, the third is to set the active record to true... I set the second parameter to TRUE and make the changes you told me and works...

I didn't get the whole idea of using multiples databases, 'cause i wasn't using multiple databases, i just wanted to change the connection information (user and password).

Know... If I assign a new connection for every model I have... won't overload my dbms? All the other connections will be open?

I think CI is not that flexible to work with this type of authentication... I think is better in case you want to prevent user to access to certain tables, you make all the validations in the dbms, and let him do the job for you...

Going back to my first question on this thread... Is there a way to override the database configuration? To avoid the calling to the database class for every single model?

Thanx for your response


Messages In This Thread
postgres users authentication - by El Forum - 11-09-2008, 01:22 AM
postgres users authentication - by El Forum - 11-09-2008, 03:06 PM
postgres users authentication - by El Forum - 11-09-2008, 05:27 PM
postgres users authentication - by El Forum - 11-09-2008, 09:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB