record paging |
[eluser]huzzi[/eluser]
What's the best way to keep track of search criteria between between pages? I tried to put the criteria into an object then store the object into the session but the session class throws error : Message: Object of class stdClass could not be converted to string I tried hacking the session class as suggested on this forum but couldn't get it to work. I can store the each criteria separately into the session but there must be a better way of doing this?? Any suggestions? Many thanks in advance. huzzi
[eluser]Jondolar[/eluser]
If you create a class and want to serialize it, I think you need to create a serialize() function that will be called. I don't think you can just stuff any object into a session and expect it to be saved and restored.
[eluser]pistolPete[/eluser]
Maybe this thread helps: http://ellislab.com/forums/viewreply/486198/ |
Welcome Guest, Not a member yet? Register Sign In |