How would you save an entire result set in the session? I tried to do
that and a got the same error.
Short answer: don't.
The session is not meant as a caching mechanism for db selects.
You'll fast start running into problems if you do this. The session
is meant for small amounts of *temporary* data that may need to be
stored between requests.
If you need to access the results of the select in a subsequent
request either make the select again or store a list of primary keys
for those select results and retrieve them again.
Hope this helps
Lee
--
Lee McFadden
blog: http://www.splee.co.uk
work: http://fireflisystems.com
skype: fireflisystems
If I've built a query of some sort, I put the SelectResults object
straight
into the session. and just retrieve and call select() on when
subsequently
needed. Works well and is pleasing to the eye, I think.
SelectResults objects are great, the biggest strength of SQLObject IMHO
HTH
wavydavy