Friday 15 March 2013

asp.net - Why does Velocity lose session after only a few minutes? -


I have set up season management with a distributed distributed cache. I have 3 servers hosting cache and

  New-Cash Sessions - Seconds 1 TTL 1440  

and the following is the .config file in my web.

  & amp; Lt; Section name = "datacash client" type = "Microsoft.Data.Caching.DataCacheClientSection, & amp; #xD; & amp; #xA; cacheBaseLibrary" permission = "correct" permissions = "everywhere" /> & Lt; Session Location Mode = "Custom" Custom Provider = "Velocity" & gt; & Lt; Providers & gt; & Lt; Add name = "velocity" type = "Microsoft.Data.Caching.DataCacheSessionStoreProvider" cacheName = "session" /> & Lt; / Providers & gt; & Lt; / SessionState & gt;  

Any help would be appreciated.

It looks like being ejected, cash is expelled by default, i.e. stored objects in the cache Can be ousted. You should create a non-expired cache using the new cash command. Example: None of the new cash-no-set

Set as per the requirement of other cache properties.


No comments:

Post a Comment