caching - New-Cache parameters for AppFabric Cache when storing ASP.NET Session State -
What are the "optimal parameters" for creating AppFabric cache when you store session state in the cache?
PowerHell Command Line:
New-cache [-Keyname]
- Cache name: & lt;
- Removal:?
- Expirable:
- TimTavoid:?
- Force:?
- Enable notifications?
Because I do not want my sessions to be removed until the session code or session expires ...
For the removal, I am "none" And seems to be receivable, I would think wrong.
I have tested and called the session. External objects remove from the cache. I have also tested to check whether the session object has also been expanded by expanding my session, in the cache. It works in the "right" way.
Confirms my findings from the AMS staff.
2) Since your question is in the context of session status, when you use the session state provider, the session object is stored in the cache, which will be used for the time period of ASP.NET session. Equals happen with time. Each time the session is delivered, the session object's timeout in the cache also resets at the session timeout, to ensure that the session object is ending with the cache is done only when the time-out.session bar of the ASP.Net session -Out.
I still have the need to create a named cache to get high availability, but I can leave other settings on normal.
New Cash ProjectName session state -Secondaries 1
Comments
Post a Comment