keep_flashdatabug ? |
[eluser]Ricola[/eluser]
hi there i'm trying to use session library everything seems good except " keep_flashdata " i wrote a simple code by using keep_flashdata to store my session data like a code below : class Test extends MY_Controller { Code: function __construct() the point is every method in test controller (test1,test2) doesn't show up anything i don't know what exactly reason but if i remove or comment " keep_flashdata " everything works fine. I think it is a simple code for test , so it would not happen by my mistake thank you I'm using codeigniter 2.0(official) PHP 5.2.6 Complied by my own computer (Windows 7)
[eluser]Cristian Gilè[/eluser]
Quote:CodeIgniter supports "flashdata", or session data that will only be available for the next server request, and are then automatically cleared....If you find that you need to preserve a flashdata variable through an additional request, you can do so using the keep_flashdata() function. Your code is good but you are using flashdata in the wrong way. Copy this code and type http://yourwebsite/index.php/test Code: class Test extends MY_Controller { Cristian Gilè
[eluser]Ricola[/eluser]
well, this is codeigniter forum i don't think it is java |
Welcome Guest, Not a member yet? Register Sign In |