I have a use for cache that is best if only scoped to a particular
session. Is that possible, or should I be using a session variable
instead? Performance is a consideration in this case.
If you are talking using the built in caching mechanism, but with session
bits thrown in versus session, I would choose session. The perf will be
similar, but the session will clean itself up, while you will have to clean
up your custom session bits.
If you were thinking of velocity when it is RTMed, then custom might be
worth it, as you could swap out bits when it is released. Otherwise,
session is simpler to code for.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************