What do I not understand about flashdata? specifically keep_flashdata - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: What do I not understand about flashdata? specifically keep_flashdata (/showthread.php?tid=12103) |
What do I not understand about flashdata? specifically keep_flashdata - El Forum - 10-06-2008 [eluser]skattabrain[/eluser] I thought I understood how flashdata works perfectly but this morning i"m stumped ... maybe I need more coffee. So the gist of this is... 1 - customer places order 2 - process order and set flashdata for the thank you page 3 - user redirected to thank you page and ... 4 - if user hit's 'refresh' i can still serve the thank you page 5 - otherwise, i load a different view and verify they are logged in and have access to view the order. 4 & 5 no workie. so the first view works great, but after that it keeps loading the myaccount/order_view view. so ... the order process function (minus all the work) ... Code: function process() and then the view function ... Code: function view($order_id='', $order_hash='') |