[EMAIL PROTECTED] wrote at 2007-7-7 16:38 +0200: >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)">
You cannot. HTTP forbids browsers to perform automatic post/put redirects. Therefore, browsers tend to implement all redirects as "GET" requests. For "GET" requests, all parameters must be in the url. -- Dieter _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
