[Zope] problem with a list of files

juan garcia garcia_arboleya@yahoo.es
Tue, 22 Oct 2002 13:49:24 +0200 (CEST)


Hi everybody,

I am trying to store a list of files in
context.REQUEST.SESSION. In order to achieve this I do

files = container.Entries.objectValues('File')

and later

session=context.REQUEST.SESSION

session['mylist']=files

and I get the error

Error Value: Attempt to store an object from a foreign
database connection

I suppose this is because Zope tries to store the
files, and I only need to store the reference to them.
Somebody knows how to do it?

thank you.


_______________________________________________________________
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es