Archive for the ‘Session’ Category

Use Velocity (CTP3) as Session State Provider

The blog shows how to configure web.config to use Velocity as session state provider, but it only works for CTP2.

I did some experiment and found out the following configuration in web.config will work in Velocity CTP3:

<sessionState mode=Custom customProvider=SessionStoreProvider>

<providers>

<add name=SessionStoreProvider type=Microsoft.Data.Caching.DataCacheSessionStoreProvider, ClientLibrary />

</providers>

</sessionState>