about state

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
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
 
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! |
*******************************************
 
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
 
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
 
Back
Top