The scenario: Lets
say you have a customer who is buying something. The customer is checking
out, because he is done shopping. You have setup two pages, one with his
personal information such as name address etc. and the other with the
billing information. Since you are so organized and neat, you don't want
to jumble the page with form fields so you decided to have two separate
You think to yourself,
"Wow, that's allot of variables to keep track of!". You ponder
how much work this will be and you finally come up with a solution: You
will use a class to store the information!
After designing and
building a class, you sit back and sip your beer. Unfortunately you cant
enjoy that sip because you realized that you have no idea how you are
going to send the information from page one over to page two!
Well, I'm going to
show you how to move your classes and your data that's held in them from
page to page.