hunter / sessions

commit 4901f3fbc531aac593c64414bbb512b862b08ae0

author Hunter Praska

time 2018-09-14 19:53:15 -05:00

Make writing to disk optional

By default, sessions now ignores errors writing to disk. The session
store will still work if the disk malfunctions, but if the application
is restarted all sessions will be lost and some deleted sessions might
reappear. If this is undesirable the force-to-disk feature acts the will
only create/delete sessions after the changes have been written to disk.


Generate sessions. Useful for web applications.