• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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, 12:10 PM
[resolved] Using flashdata on the same page - by El Forum - 09-05-2008, 02:02 PM
[resolved] Using flashdata on the same page - by El Forum - 09-05-2008, 03:23 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.