Skip to content

swojcicki/ehcache-simple-session-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Very simple proof of concept for session keeping in EHCache.

EHCache is configured to push items to disk so as a result this allows data keeping even in case of hard PC restart.

Please take this proof of concept not as a full-fledged solution but as just one way how to do it.


How to test: after you started application, log in as admin/admin and press Refresh to notice that counter increases on each request. Even if you restart application it still has the same number since session does not get invalidated.

Tested on Apache Tomcat 7.0.22

About

Simple proof of concept for keeping session data in EHCache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published