This project is read-only.

1.0 Session State Provider Beta

Rating: No reviews yet
Downloads: 126
Released: Dec 31, 2007
Updated: Jan 2, 2008 by fahadaz
Dev status: -not yet defined by owner-

Recommended Download

Application 1.0 Session State Provider Beta
application, 198K, uploaded Dec 31, 2007 - 85 downloads

Other Available Downloads

Source Code proc_CleanExpiredData.sql
source code, 1K, uploaded Dec 31, 2007 - 41 downloads

Release Notes

1.0 Session State Provider Beta

If you need Win32 port of memcached and install instructions, please go to the following website http://jehiah.cz/projects/memcached-win32

This provider uses SQL Server 2005 to provide reliable storage. For more info, please refer to following http://www.socialtext.net/memcached/index.cgi?sessions. In future, I will be adding support for other databases.

Session State Provider does not support Session_OnEnd. Therefore, to clean expired data in SQL Server 2005 use proc_CleanExpiredData.sql stored proc. This can be scheduled to automatically clean expired data using SQL Server Agent.

Here is an example of how to configure the Session State Provider in the web.config file. writeExceptionsToEventLog does not work right now. I will be adding support for it in a later release.

<configuration>
<appSettings/>
<connectionStrings>
<add name="SqlSessionServices" connectionString="Data Source=.;Initial Catalog=Session;User Id = sa; Password = sa123;"/>
</connectionStrings>
<system.web>
<sessionState cookieless="false" regenerateExpiredSessionId="true" mode="Custom" customProvider="MemcachedSessionProvider">
<providers>
<add name="MemcachedSessionProvider" type="SessionState.SessionStateProvider"
connectionStringName="SqlSessionServices" writeExceptionsToEventLog="false"
servers="127.0.0.1:11211" socketConnectTimeout="1000" socketTimeout="1000"/>
</providers>
</sessionState>
</system.web>
</configuration>


Reference
http://msdn2.microsoft.com/en-us/library/ms178588(VS.80).aspx

Reviews for this release

No reviews yet for this release.