about state

T

Tony Johansson

Hello!

If I have some reference types and some value types can all of these be
saved into a session object ?
Can you give me some guidelines or example what is appropriate to save into
a session object.

//Tony
 
G

Gregory A. Beamer

If I have some reference types and some value types can all of these
be saved into a session object ?
Can you give me some guidelines or example what is appropriate to save
into a session object.

For the most part, I try not to store in session, as it more likely becomes
a garbage can that never gets cleaned up. But, if I do store, the idea of
value types versus reference types is not that important.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
T

Tony Johansson

Gregory A. Beamer said:
For the most part, I try not to store in session, as it more likely
becomes
a garbage can that never gets cleaned up. But, if I do store, the idea of
value types versus reference types is not that important.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************

Can you make up something relevant that would be suitable to store in the
session object.

//Tony
 
T

Tony Johansson

Mark Rae said:
Something small which needs to be persisted across pages...

Can you give an example on something small that might be suitable to save
across pages into a session object .

//Tony
 

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,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top