• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to redirect to different user pages

#2
[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.


Messages In This Thread
how to redirect to different user pages - by El Forum - 08-08-2010, 09:31 AM
how to redirect to different user pages - by El Forum - 08-08-2010, 10:41 AM
how to redirect to different user pages - by El Forum - 08-08-2010, 11:15 AM
how to redirect to different user pages - by El Forum - 08-08-2010, 08:27 PM
how to redirect to different user pages - by El Forum - 08-08-2010, 10:06 PM
how to redirect to different user pages - by El Forum - 08-08-2010, 11:47 PM
how to redirect to different user pages - by El Forum - 08-09-2010, 12:13 AM
how to redirect to different user pages - by El Forum - 08-09-2010, 12:14 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.