Using Memcached Session Provider 1.2
Using Memcached Session Provider 1.2
- Run the scripts under DbSQL to create table and stored procedures
necessary to run the Memcached Session State Provider.
- Right mouse click on the references folder in the project and click on “Add
Reference” option. Go to the location where Memcached Providers were
unzip and select Enyim.Cache.dll, MemcachedProviders.dll & Log4net.dll.
Then click “OK” to add them to the project.
This document is provided under the “Apache License Version 2.0, January 2004” 1
http://www.apache.org/licenses/
- Open Web.config file and add the following section to configSections tag
<sectionGroup name="enyim.com">
<section name="memcached"
type="Enyim.Caching.Configuration.MemcachedClientSection, Enyim.Caching" />
</sectionGroup>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
- Now you can use Session object to use Memcached as Session State
Storage.
This document is provided under the “Apache License Version 2.0, January 2004” 2
http://www.apache.org/licenses/