i am working with the flash session concept but i am found that the session value do not exit after the next page, So wht is the use of the session which do not exit the next page it self ,
can u tell me how ti use the flash session so that the value will exit the next page,
after that the session will expire.
i also us the keep_flash function but it is not working
In the default config, flash variables will auto expire on the next page request. To be exact, the next page load that loads the Session class.
Which means you can use the data in that request only, not in requests after that. It also means that if the next request does a redirect, you lose all your flash data if you don't explictly keep it.
You can control this behaviour through config, for example to have flash variables only expire after you have get() them.