Skip to content

micahlmartin/SQLiteSessionStateStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SQLiteSessionStateProvider
========================================
This is a SQLite session state provider for ASP.NET. There are 3 providers that come standard: InProc, SqlServer, and StateServer.
The SQLite provider was built to address deployment scenarious where persistant session state needs to be stored but SQLServer
and StateServer are either not available or performance is a concern.



Dependencies
========================================
This project requires the System.Data.SQLite.dll from http://sqlite.phxsoftware.com/. Both the x86 and x64 version are included
with the source.



Example
========================================
The provider will handle setting up the schema and creating the database automatically.
Just add the following configuration to your web.config file

<system.web>
	<sessionState mode="Custom" customProvider="Sqlite">
	  <providers>
		<add name="Sqlite" type="Littlefish.SQLiteSessionStateProvider.SQLiteSessionStateStoreProvider, Littlefish.SQLiteSessionStateProvider" databaseFile="~/App_Data/SessionState.db3" />
	  </providers>
	</sessionState>
</system.web>

About

A SQLite Session State Provider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages