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

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
 
F

Felbrigg

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top