Sha256: cd682611374449e4a280b40ac91ed9e713e1be354ac3bc557f3e5b09761c5e43

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

# Session

The session management uses symmetric private key encryption to store data on the client and avoid tampering.

```ruby
use Utopia::Session,
	:expires_after => 3600,
	:secret => '40 or more random characters for your secret key'
```

All session data is stored on the client, but it's encrypted with a salt and the secret key. It would be hard for the client to decrypt the data without the secret.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
utopia-1.9.7 documentation/pages/wiki/middleware/session/content.md
utopia-1.9.6 documentation/pages/wiki/middleware/session/content.md