Re: RES: [Zope] login system discussion

2005-04-08 Thread prabuddha ray
Thanks the request var is set but the next line for redirection 
ie. return context.index_html renders a new page with text :

  ZopePageTemplate at index_html

is there some object in context which refers to the self page.
plz help.


On Thu, 7 Apr 2005 11:22:25 -0300, Jose Henrique dos Reis
[EMAIL PROTECTED] wrote:
 I think that request.form['variable'] = value, could solve your problem.
 
 I think that RESPONSE.redirect creates another REQUEST object, so all the
 changes you made in your script are lost.  You can use return
 context.index_html, instead, to preserve the REQUEST.
 

-- 
Share the vision of difference with ME
___
Zope maillist  -  Zope@zope.org
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 )


Re: RES: [Zope] login system discussion

2005-04-07 Thread prabuddha ray
Ok i get it,

  please tell me the way to set a request form var in a python script

On Wed, 6 Apr 2005 12:55:33 -0300, Jose Henrique dos Reis
[EMAIL PROTECTED] wrote:
 Your request.set puts 'invalid' in request/other, not in request/form.
 
 Zenrique
 

-- 
Share the vision of difference with ME
___
Zope maillist  -  Zope@zope.org
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 )