difference between caching objects in session objects?
Answer Posted / dhananjeyan
1. Sessions may not improve performance whereas Cache will
improve site performance.
2. Sessions may change from user to user whereas a single
Cache will be maintained for the entire application.
3. Cache wont maintain any state, whereas Sessions will
maintain separate state for every user.
I hope it would help.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What are the advantages of passport authentication?
What are the navigation ways between pages available in ASP.NET?
Can viewstate be accessed in another page?
Do you know using sql cache invalidation?
What are the advantages of using session?
What is marshalling ? Is it a part of asp.net ?
How can you apply a theme to your asp.net application?
What is protected configuration?
How do I use response redirect?
Why should i prefer JSP over asp.net or any other web development language..??
Explain automatic memory management in .net.
Why session is more secure than cookies?
What is a runtime version?
Explain About WebService
Which method is used to enforce garbage collection in .net?