-4

I'm working on ASP.NET MVC Application. Facing few problems in session timeout. I want to know the basics like #1. Where Session, cache , tempdata values stored in system and #2. How it is deleted from the storage automatically/manually after certain period. Thanks in advance.

karthik
  • 1
  • 1

1 Answers1

0

Sessions are stored on the server, by default these are set to 20mins or are overriden by there server/site configuration. Timeout issue - How to set session timeout in web.config

Cache- well there is server cache and browser cache, so it depends which cache as to where it is stored. On the client side its just a copy of the html and various other assets to make it quicker to access. The location depends on your machine setup.

Cookies - These are stored on your machine, there is no specific place, its dependant on your machines setup, temp files, group policy etc.

Most browsers check for the latest version of content, but you can force content expiry on the server.

Community
  • 1
  • 1
Netferret
  • 604
  • 4
  • 15