Thanks Jason.
The password and session variable were being set ok, so setting the text field value to an empty string may well have been it.
It seems to work now, I did get a couple of failures, but that was due, I think, to copy/paste errors
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.