Ticket #187 (closed task: fixed)
Merge SetPersistentCookie and SetSessionCookie into SetCookie
| Reported by: | NilsLindenberg | Owned by: | JavaWoman |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.1 |
| Component: | core | Version: | 1.1.6.1 |
| Severity: | normal | Keywords: | cookie SetPersistentCookie SetSessionCookie |
| Cc: |
Description
Since SetPersistentCookie is only used by SetUser and SetSessionCookie isn't used at all, and since both do the same job except for the time the cookie is valid, they can be merged into one function SetCookie with an optional time parameter (default would be "session").
The path of the cookie should be restricted to the actuall wiki-path (see #81).
Change History
Note: See
TracTickets for help on using
tickets.