[Zope] How do i clear REQUEST?
honey bee
zope_baby@hotmail.com
Thu, 14 Mar 2002 16:07:51 +0530
<html><div style='background-color:'><DIV>HI,</DIV>
<DIV>I am developing an application which is majorly screen driven.I call a stored proc on submitting a form from dtml-doc A to doc B.I check for the presence of a REQUEST variable and call the proc if it is found and hence a new record is inserted.</DIV>
<DIV>But the prob is if I happen to refresh the screen the variables are still present and hence one more record is created.</DIV>
<DIV> </DIV>
<DIV>I tried calling <dtml-call "REQUEST.form.clear()"></DIV>
<DIV>after the proc, but the variables are still persistent so end up calling the proc again and again and am not able to clear the form.</DIV>
<DIV>kindly help me....... this is getting to be a major prob on my application</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>ZB</DIV></div><br clear=all><hr>Send and receive Hotmail on your mobile device: <a href='http://g.msn.com/1HM303401/z'>Click Here</a><br></html>