session_write_close() broken on some systems
session_write_close() broken on some systems

Added a check to determine if session storage location is writable, and if it is not writable, fall back to the 'cache' folder.  If both checks fail, exit informing the user that sessions can not be written (generic message)
microvb/otp-thing,microvb/otp-thing