Skip to content

Commit

Permalink
Clarify prefix usage
Browse files Browse the repository at this point in the history
Issue: #278
  • Loading branch information
wavded committed Aug 29, 2019
1 parent 1ff6489 commit f440378
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion readme.md
Expand Up @@ -54,7 +54,11 @@ Known compatible and tested clients:

##### prefix

Key prefix in Redis (default: `sess:`)
Key prefix in Redis (default: `sess:`).

This prefix appends to whatever prefix you may have set on the `client` itself.

**Note**: You may need unique prefixes for different applications sharing the same Redis instance. This limits bulk commands exposed in `express-session` (like `length`, `all`, `keys`, and `clear`) to a single application's data.

##### ttl

Expand Down

0 comments on commit f440378

Please sign in to comment.