You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,3 +20,22 @@ confugure ``PhpPlatform\WebSession\Session`` as the `session.class` in [php-plat
20
20
}
21
21
}
22
22
```
23
+
24
+
## Configuration
25
+
#### salt
26
+
salt is used to encrypt session file name from actual session id
27
+
```php
28
+
$sessionFileName = md5($salt.$sessionId);
29
+
```
30
+
31
+
#### path
32
+
path is the uri path on which this session cookie must be set, this value is sent as Set-Cookie's path parameter
33
+
34
+
#### timeout
35
+
Session timeout in seconds , this value is used to calculate Set-Cookie's expires and Max-Age parameters
36
+
37
+
#### name
38
+
name of the session , this is the cookie name sent to the client
39
+
40
+
#### sessionFilePrefix
41
+
this is the prefix for session file names for this application , since all the session files are stored in same directory , this helps to categories the session files for each application
0 commit comments