By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,247 Members | 871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,247 IT Pros & Developers. It's quick & easy.

Session State and Cache data?????

P: n/a
What is the difference, and are there any good articles on this?

--
David
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Session state is user (session) specific while cache is global (same to all
sessions/users). Session also has different modes which impact on where
session state is persisted. (in memory i.e in-process, separate process,
database) This is to control the durability of sessions and so on for
example in case when application restarts when in-memory session state would
be lost. Cache data is also stored in-memory and it would be lost in case of
restart.

From programming perspective, their usage is similar. They are key/value
dictionaries/collections where you store/retrieve objects with a given key.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsider
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"DaveF" <df*****@geodecisions.com> wrote in message
news:uo**************@TK2MSFTNGP09.phx.gbl...
What is the difference, and are there any good articles on this?

--
David

Nov 18 '05 #2

P: n/a
If you have ASP experience, it's a little like the Session object vs the
Application object.

--
Ben Strackany
www.developmentnow.com

<a href="http://www.developmentnow.com">dn</a>
"DaveF" <df*****@geodecisions.com> wrote in message
news:uo**************@TK2MSFTNGP09.phx.gbl...
What is the difference, and are there any good articles on this?

--
David

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.