Welcome Guest, Not a member yet? Register   Sign In
Rerouting a function or changing its url
#1

[eluser]Zac G.[/eluser]
Hi,

I have a function that logouts out a user. I would like it to send the user back to the homepage after they logout. How would I do this? Or can I change the url from site/logOut to just site after the logOut function runs?

I think this should be a pretty simple process, but I am a new to working with CI and not sure how to do this.

Thanks!


Messages In This Thread
Rerouting a function or changing its url - by El Forum - 04-22-2008, 12:10 PM
Rerouting a function or changing its url - by El Forum - 04-22-2008, 01:07 PM
Rerouting a function or changing its url - by El Forum - 04-22-2008, 01:35 PM
Rerouting a function or changing its url - by El Forum - 03-12-2009, 08:34 AM
Rerouting a function or changing its url - by El Forum - 03-12-2009, 09:11 AM
Rerouting a function or changing its url - by El Forum - 03-12-2009, 11:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB