Is there a maximum lenght in falshdata? |
[eluser]DocFunky![/eluser]
The reason why I'm asking that is I'm becoming mad about a small stupid message I'd like to pass to the next view. So if I do : Code: if(!$this->paypal_pro->APICallSuccessful($PayPalResult['ACK'])) It works great, but if I do : Code: if(!$this->paypal_pro->APICallSuccessful($PayPalResult['ACK'])) I'm showing the falshdata here, in main/form : Code: <?php if($this->session->flashdata('flashError')):?> Thanks
[eluser]WanWizard[/eluser]
There is no maximum linked to flashdata. But there is a maximum for total session storage, which depends on the storage backend you have selected. If you're using cookies for your session, the maximum cookie size is 4Kb. But because of the encryption overhead, you can store less then 4Kb of session data. If you're using the database, then the size is limited by the column type you have selected for the "user_data" column. By default (as documented) the type is "TEXT" which gives you 64Kb (minus 2 bytes). You can enlarge it using other data types (see http://dev.mysql.com/doc/refman/5.5/en/s...ments.html). |
Welcome Guest, Not a member yet? Register Sign In |