[Zope-DB] Problem with Zope, SQL, batching and REQUEST

Charlie Clark charlie@begeistert.org
Mon, 28 Oct 2002 15:46:29 +0000


On 2002-10-28 at 14:22:14 [+0000], you wrote:
> Hi,
> 
> I've just discovered a problem with batching and ZSQL: it seems my REQUES=
T
> object is disappearing when using next. This affects both DTML and ZPT.
> 
now I know what was causing the problem and I've got a solution for DTML an=
d 
I think I know how this will work with ZPT.

For posterity: use GET instead of POST when working with batches. GET 
appends the item/value pairs of a form onto the end of the URL. The URL 
including and item/value pairs is then literally quoted in the results set 
link. For ZPT it might be necessary to define and reassign all the REQUEST 
pairs and do the linking manually. I'm not a great fan of these huge URLs s=
o 
I'd like another solution. I think a session-object might be the way to do 
it.

Any ideas?

Charlie
-- 
Charlie Clark
Helmholtzstr. 20
D=1Asseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226