Welcome Guest, Not a member yet? Register   Sign In
Redirects
#2

[eluser]Michael Wales[/eluser]
I like to use session variables, setting the controller/method to that variable for every page that can be "returned to" when it is visited.

For example, I'm on the home page (so my session variable is blank). I click on Login, which presents me with a login form (this form can't be "returned to" after logging in, so the session var doesn't change). They login, we read the var and send them to whatever it there (in this case, nothing, therefore they go to home).


Messages In This Thread
Redirects - by El Forum - 09-16-2007, 07:01 PM
Redirects - by El Forum - 09-16-2007, 07:38 PM
Redirects - by El Forum - 09-16-2007, 08:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB