Re: [Zope] Object serialization between different pages

2000-09-12 Thread Phil Harris

You could always use one of the session management products on the Zope
site.

My particular favourite is SQLSession, but others exist which do a similar
job.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Pierre-Julien Grizel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 12:23 PM
Subject: [Zope] Object serialization between different pages


> Hi,
>
> Is it possible to serialize an object to share it across several pages ?
> This would allow one to pass the serialized object via the URL, and to
> retreive it in the form that would process the request.
>
> I know there is the pickle function in python, but is there a more
> Zopish way to do this ?
>
>
>
> Thanks,
>
>
> P.-J.
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Object serialization between different pages

2000-09-12 Thread Oleg Broytmann

On Tue, 12 Sep 2000, Pierre-Julien Grizel wrote:
> Is it possible to serialize an object to share it across several pages ?
> This would allow one to pass the serialized object via the URL, and to
> retreive it in the form that would process the request.

   Oh, no! Think if I hack the page you sent to my browser and serialize a
different object!! This is big security hole!!!

> I know there is the pickle function in python, but is there a more
> Zopish way to do this ?

   Learn to use sessions. There is no builtin session management in Zope,
but there are 3 sessions Products out there.

Oleg.
 
 Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )