Web Development and Internet Marketing Forum
Login to your Warrior Account

Join the forum, it's quick and easy

Web Development and Internet Marketing Forum
Login to your Warrior Account
Web Development and Internet Marketing Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Need help with Error Messages

Go down

Need help with Error Messages Empty Need help with Error Messages

Post by kevin619 Tue Dec 27, 2011 12:34 pm

I have a "Create Account" web form, and am looking for a better way to handle (non-validation) error-messages.

When the form is submitted, I process the form and assign various "outcome codes" (e.g. 61='Insert Succeeded') to a session variable, and then redirect to an "Outcome Page" where I use a switch statement to display the appropriate message.

How do you handle error codes/message?

Any suggestions to create a more sophisticated approach?

Thanks,



kevin619

Posts : 38
Join date : 2011-12-19
Location : California

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum