Hi all: Thanks to Paul Winkler for his "FWIW". Thanks a lot to Michael Dunstan for insists in the fact of "response.redirect('init2-second-half')", because like he perhaps imagined I do the "return init2-second-half" instead of redirect. I test with the redirect and the error disapear, for now ; ) Thanks to all the community for establish a support for everyone. Leticia -----Original Message----- From: Michael Dunstan <michael@looma.co.nz> To: Leticia Larrosa <LETICIA@tesla.cujae.edu.cu> Cc: zope@zope.org Date: Wed, 22 Jun 2005 08:55:31 +1200 Subject: Re: [Zope] accessing session data error
On 22/06/2005, at 4:50 AM, Leticia Larrosa wrote:
Hi:
Thanks to Michael Dunstan. I test with the recomendation of Michael but I still get the error. In pages where I get the error, if I wait some seconds and refresh the pages, I obtain the correct information (no get the error).
I thinks that the problem maybe are similar to the guess of Michael, but I test "breaking up ``init2`` into two scripts" and the error don't disappear. :(
Any help will be useful.
Thanks in advance,
Leticia Larrosa
Hi Leticia,
Just double check that you are redirecting from the init2-first-half to init2-second-half. Using something like the following in init2- first-half::
response.redirect('init2-second-half')
rather than directly calling init2-second-half.
Cheers Michael _______________________________________________ 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 )