Welcome Guest, Not a member yet? Register   Sign In
Intermediary confirmation page

I want to create a page after a user has logged in saying "You have been logged in, you will be forwarded in 5 seconds"

Is there any function built in to CI to facilitate a timed redirect (as opposed to an instant one using redirect())?

[eluser]Randy Casburn[/eluser]
Nope. Have to build your own.


header("Refresh: content:5;url=THEURL");


Not a big deal really...

[eluser]Randy Casburn[/eluser]
For the record, you can send redirect a second argument "refresh". But the refresh timeout is 0, so doesn't really meet your needs.


is the same as

header("Refresh: content:0;url=THEURL");


Yeah, I need a timed redirect here to let the user know they have been logged in/out...

Theme © iAndrew 2016 - Forum software by © MyBB