passing data between forms in the "cleanest" OO way?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI,
I have 3 pages where I collect userdata that I want to show in a confirmationpage.
Which is the best way of passing data from page1 to page4, page2 to page4 and so on?
I like public property and context.handler way but i just works between sequential pages doesn't it?
Do I have to use Sessions? Is there a more OOP way of implementing it (a general class instead of in every code-behind page)? Should you put an object in SessionState? Use the Cache object?
Thanx,
Jessica
 
Session, always use the session, but remember destroy and sesion variables
you are not using as soon as you can.

msyez said:
HI,
I have 3 pages where I collect userdata that I want to show in a confirmationpage.
Which is the best way of passing data from page1 to page4, page2 to page4 and so on?
I like public property and context.handler way but i just works between sequential pages doesn't it?
Do I have to use Sessions? Is there a more OOP way of implementing it (a
general class instead of in every code-behind page)? Should you put an
object in SessionState? Use the Cache object?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top