Welcome Guest, Not a member yet? Register   Sign In
I'm having trouble with flashdata
#6

[eluser]insub2[/eluser]
[quote author="TheFuzzy0ne" date="1237698934"]Flashdata is only available to the next request, not the request that it was set.[/quote]

But but ... it worked when there was just a string ('string') and the other array.

[quote author="TheFuzzy0ne" date="1237699553"]How big is the array you're trying to store?

Does it contain any backslashes?

Are you sure you have cookies enabled in your browser?

Are you sure you have configured your cookies correctly?[/quote]

Backslashes? IDK.

Cookies enabled? Yes, FreakAuth_Lite works and, I believe, that it is using the same db_session library.

No, I am not sure I have cookies configured correctly.

The db_session data is returned while in the same control. But it is lost after the redirect. I've checked the database ci_sessions table and there appears to be some data stored for 'resultsArray' ...though there also seems to be a lot of weird markup that I don't recognize (stuff like "a:1" and "s:3").

Is there a way to check the size of a variable? Something like measure($var) ?


Messages In This Thread
I'm having trouble with flashdata - by El Forum - 03-21-2009, 05:51 PM
I'm having trouble with flashdata - by El Forum - 03-21-2009, 06:15 PM
I'm having trouble with flashdata - by El Forum - 03-21-2009, 06:20 PM
I'm having trouble with flashdata - by El Forum - 03-21-2009, 06:25 PM
I'm having trouble with flashdata - by El Forum - 03-21-2009, 06:39 PM
I'm having trouble with flashdata - by El Forum - 03-22-2009, 01:54 AM
I'm having trouble with flashdata - by El Forum - 03-22-2009, 05:11 AM
I'm having trouble with flashdata - by El Forum - 03-23-2009, 12:28 AM
I'm having trouble with flashdata - by El Forum - 03-23-2009, 06:32 AM
I'm having trouble with flashdata - by El Forum - 03-23-2009, 11:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB