Web Development and Internet Marketing Forum
Login to your Warrior Account

Need help with Error Messages

Go down

Need help with Error Messages Empty Need help with Error Messages

Post by kevin619 on 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?



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

View user profile

Back to top Go down

Back to top

- Similar topics

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