Hi there. New to this mailing list.
Hope I am in the right area.
Here is what I am trying to do:
a user selects 1
item from a list in a dtml document form. This item
then affects the rest of that web session for the user. Therefore I would like
the dtml document form to call a python script, with
the item the user selected. The python script will do some database selects
based on the selected item. It will also create a cookie with the selected item
so that the rest of the web session will be “aware” of what the
user selected. Lastly, the script should send the user to another web page that
has some sort of confirmation of what the user selected (print the cookie).
It is all working so far except for the very last part. When
I call the confirmation DTML document using something like “return context.dpage_confirmation()” I get an KeyError for
the confirmation page. The cookie is being set. I have verified it by viewing
the confirmation page by itself. It is just when the page is called from the python
script.
Any help greatly appreciated. Thanks!