When should we use Custom Session Mode ?


we can use custom session mode in following of the cases,
  • We want to store session data rather than SQL Server.
  • When we have to use some Existing table to store session data.
  • When we need to create our own session ID.
We need to configure our web.config like below,
If you want to Explore some thing more please Check Further study section
Advantages :
  • We can use some existing Table for the store session data, It is useful when we have to use some old database rather than SQL Server.
  • It's not depending on IIS , So Restarting web server does not make any effects on session data.
  • We can crate our own algorithm for generating Session ID.
Disadvantages :
  • Processing of Data is very slow.
  • Creating a custom state provider is a low-level task that needs to be handled carefully to ensure security.
Its always recommended to use any third party provider rather than creating your own. 
Ref and More Information : Custom Mode  

2 comments:

  1. Seems genuine but rather regardless of whether it's actual it doesn't prevent everybody from fostering their own thoughts of excellence. Thoughts that are persuading, thoughts that are logical and thoughts that are engaging 야동비즈

    ReplyDelete
  2. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. 중국야동넷

    ReplyDelete