public FilePageStore(File dir)
{
defaultWorkDir = new File(dir, "sessions/");
defaultWorkDir.mkdirs();
pagesToBeSerialized = new ConcurrentHashMap();
pagesToBeSaved = new ConcurrentHashMap();
appName = Application.get().getApplicationKey();
saveThread = new PageSavingThread();
Thread t = new Thread(saveThread, "FilePageSavingThread-" + appName);
t.setDaemon(true);