Skip to content
Manabu Nakamura edited this page May 11, 2013 · 2 revisions

Q. How to keep logged-in session when code was changed in DEV mode

If you use default Cache implementation(EhCache), you can keep logged in session by using setting as follow.

put a ehcache.xml in conf/ folder.

<?xml version="1.0" encoding="UTF-8"?>
<ehcache>
  <diskStore path="{your storage path}"/>
   
  <defaultCache
    diskPersistent="true"
    maxEntriesLocalHeap="1000"
  />
 
</ehcache>