[Zope] Securly storing variables without session in zope

2011-06-14 Thread Jibin K.J
Hi, I want to store values in variables to access form another page(a.k.a State management). Now I cannot use sessions since I have multiple Zope instances & if one fails the user need to be redirected to another Zope instance and one session is valid only for one Zope instance. Now my remai

[Zope] Retrieving an image from MySQL

2011-06-27 Thread Jibin K.J
I have an image stored in MSQL.(Don't tell me its not proper do that,I know already).Anyways I need to display it in DTML. StockChartManagePreview (DTML) StockChartManagePreview_Handler (python script) request = container.REQUEST response = request.RESPONSE photo = context.StockChar