Hi,
What is the difference between below three objects.Anybody can explain with examples.
1.Application object
2.Cache Object
3.Session Object.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Zoran HorvatPosted Jul 26, 2011, 5:06 AM
Cache object allows you to keep objects in memory (on the server) so that you don't have to go to database every time some page requires them. This saves a lot of time when executing ASP pages.
Session object allows you to store variables that only one user can see (e.g. username, password, state of payment, etc.). Session has limited lifetime. If user does not refresh the page or access some other page within the application, session will expire and all values stored in it (in memory) will disappear. Other users cannot see variable values for any other user.
Zoran