Welcome Guest, Not a member yet? Register   Sign In
Remember Last Page Visited... How?
#9

[eluser]dhall[/eluser]
That did it... thanks!

Another question.

Where would be the best place to put the code where I set the 'redirect' variable in the session?

Code:
$this->set_userdata('redirect', urlencode(current_url());

Would I need to repeat this line of code in every controller; some controllers set it, other controllers clear it?


Messages In This Thread
Remember Last Page Visited... How? - by El Forum - 07-22-2012, 03:34 AM
Remember Last Page Visited... How? - by El Forum - 07-22-2012, 04:11 AM
Remember Last Page Visited... How? - by El Forum - 07-22-2012, 04:56 AM
Remember Last Page Visited... How? - by El Forum - 07-22-2012, 05:22 AM
Remember Last Page Visited... How? - by El Forum - 07-22-2012, 07:45 AM
Remember Last Page Visited... How? - by El Forum - 08-01-2012, 07:28 AM
Remember Last Page Visited... How? - by El Forum - 08-01-2012, 07:52 AM
Remember Last Page Visited... How? - by El Forum - 08-01-2012, 08:20 AM
Remember Last Page Visited... How? - by El Forum - 08-01-2012, 08:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB