python cookie page calling dilemma
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!
Mark A. Robinson wrote:
Hi there. New to this mailing list. Hope I am in the right area.
'fraid not. This mailing list is for talking about the development of zope, rather than developing things using zope. You'll be wanting zope@zope.org instead. Also, with any of the zope mailing lists, be sure to send the email in plain text rather than as html. -- Steve Alexander
participants (2)
-
Mark A. Robinson -
Steve Alexander