Welcome Guest, Not a member yet? Register   Sign In
Confirmation Pages and Timed Redirects
#1

[eluser]TheFuteballer[/eluser]
Just curious to get some input on this matter and to see how everyone else deals with this.

After submitting a form, I'm loading a confirmation page with a specific message and then I'd like to redirect them back to the referring page after 5 or 6 seconds.

My question is:
1) UX wise, how do you deal with confirmation pages? Javascript or a separate page?
2) What's the best way to redirect. Does CI have a timed redirect or should I just use a meta refresh?

Thanks in advance!
#2

[eluser]Aken[/eluser]
Meta refresh is your best timed-redirect solution.

Question though - are you redirecting the user back to the page where they submitted the form? If so, might I suggest using some AJAX so that you can avoid redirecting entirely?




Theme © iAndrew 2016 - Forum software by © MyBB