[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: Re: [Zope] Re: Redirection and Request Variables
From: Andreas Pakulat <ap125 () informatik ! uni-rostock ! de>
Date: 2003-06-13 21:41:51
[Download RAW message or body]
On 13.Jun 2003 - 13:17:00, Evan Simpson wrote:
> Andreas Pakulat wrote:
> >I've got a page template that display a file using the id given in the
> >request. I also got login/logout functionality on the site using
> >exUserFolder, now I want that If the user looks at the file display he
> >can click the login and after that gets back to the file display page.
> >But this doesn't work, After clicking on the login Button I get a
> >KeyError about the variable which holds the id - after a reload
> >everything is fine. The variable is encoded within the URL using the
> >QUERY_STRING. Is it somehow possible to get rid of this error?
>
> I've just checked a fix for this into the CVS trunk, and it's an easy
> patch to apply if you're not a CVS user:
>
> --- CMFCore/CookieCrumbler.py 6 Dec 2001 21:58:18 -0000 1.12
> +++ CMFCore/CookieCrumbler.py 13 Jun 2003 18:16:04 -0000
That one doesn't help me, as this for CookieCrumbler, but I use
exUserFolder as I said. I got a workaround redefining the variable I had
in the QUERY_STRING within the docLogin DTML-Method. For now It works,
but as soon as another variable comes in I have to rewrite the docLogin
again, so I would be thankful for a better solution.
Andreas
--
You are sick, twisted and perverted. I like that in a person.
_______________________________________________
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic