[Zope] Setting REQUEST on next page

jbusato at libero.it jbusato at libero.it
Sat Jul 7 11:45:12 EDT 2007


Using sessions I can solve the problem but I prefer other solutions (even if possible).

> Why do you not want to pass info in the URL?
For security reasons that fields should not be viewed by users

Thank you







---------- Initial Header -----------

>From      : "Jonathan" dev101 at magma.ca
To          : jbusato at libero.it,"zope" zope at zope.org
Cc          : 
Date      : Sat, 7 Jul 2007 11:35:44 -0400
Subject : Re: [Zope] Setting REQUEST on next page







> 
> ----- Original Message ----- 
> From: <jbusato at libero.it>
> To: "zope" <zope at zope.org>
> Sent: Saturday, July 07, 2007 10:38 AM
> Subject: [Zope] Setting REQUEST on next page
> 
> 
> > Hi,
> > Someone could tell me how to pass a variable without put in the URL using 
> > RESPONSE.redirect?
> >
> > For example, if code is...
> >
> > <dtml-call "RESPONSE.redirect(nextpage+'?myvar='+value)">
> >
> > ...I need something like
> >
> > <input type="hidden" name="myvar" value="<dtml-var value>">
> > [set up this var on the next page REQUEST]
> > <dtml-call "RESPONSE.redirect(nextpage)">
> 
> In general you can only pass variables between 'sessions' by:
> 
> 1) including the variables in the url, or
> 2) using Zope Session machinery, or
> 3) storing the information in the ZODB (or other persistent db)
> 
> Why do you not want to pass info in the URL?
> 
> 
> Jonathan 
> 


------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/



More information about the Zope mailing list