Welcome Guest, Not a member yet? Register   Sign In
[resolved] Using flashdata on the same page
#3

[eluser]neen[/eluser]
Flashdata is available on the next request only (unless you set save_flashdata on the next request)

It works because you have redirected (thus causing another browser request)

What you can do is keep track of the url the user came from, and redirect them back to that url, after setting the flashdata. This will allow the flashdata to display, and should not affect your CSS or anything else.

Haha...Good 'ol PEBKAC

Glad you got it figured out


Messages In This Thread
[resolved] Using flashdata on the same page - by El Forum - 09-05-2008, 11:10 AM
[resolved] Using flashdata on the same page - by El Forum - 09-05-2008, 01:02 PM
[resolved] Using flashdata on the same page - by El Forum - 09-05-2008, 02:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB