The right way to redirect |
[eluser]cahva[/eluser]
[quote author="connors" date="1271464638"]I'd use Code: redirect(site_url('dev/test'), 'refresh'); [/quote] Sorry but you're wrong about this. redirect function already uses site_url function so you dont have to add it anymore. So just redirect('dev/test') will do fine. But with flashdata I agree 100% Thats the way to inform something's changed. Action -> create flashdata -> redirect -> show flashdata |
Messages In This Thread |
The right way to redirect - by El Forum - 04-16-2010, 01:28 PM
The right way to redirect - by El Forum - 04-16-2010, 01:37 PM
The right way to redirect - by El Forum - 04-16-2010, 02:34 PM
The right way to redirect - by El Forum - 04-16-2010, 03:46 PM
The right way to redirect - by El Forum - 04-16-2010, 03:49 PM
The right way to redirect - by El Forum - 04-19-2010, 06:56 AM
The right way to redirect - by El Forum - 04-19-2010, 06:58 AM
|