ignore swap files
added support for configuring cookie expiration