Thnx 4 the tip! I placed the code 4 generating a password in a if not page.postback statement. That was the anwser!! THNX!!