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?
 
Back
Top