08-08-2010, 10:41 AM
[eluser]intractve[/eluser]
If you have different user classes, eg: 1,2,3,4,5
You can do a switch case after login is successful and use CI's redirect() function to send them where ever you want.
The redirect function is part of the url helper, so be sure to load/autoload it.
If you have different user classes, eg: 1,2,3,4,5
You can do a switch case after login is successful and use CI's redirect() function to send them where ever you want.
The redirect function is part of the url helper, so be sure to load/autoload it.