mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
grammar fixes(?)
Former-commit-id: bf2ff1df8c841643eb2ebfc8524ba869d02c99b3
This commit is contained in:
@@ -31,10 +31,12 @@ type (
|
||||
}
|
||||
)
|
||||
|
||||
// Destroy destroys this session, it removes all sessions and flash values,
|
||||
// the session entry from the server and updates the registered session databases,
|
||||
// note that this method does NOT removes the client's cookie, although
|
||||
// it should be re-seted if new session is attached to that (client).
|
||||
// Destroy destroys this session, it removes its session values and any flashes.
|
||||
// This session entry will be removed from the server,
|
||||
// the registered session databases will be notified for this deletion as well.
|
||||
//
|
||||
// Note that this method does NOT remove the client's cookie, although
|
||||
// it should be reseted if new session is attached to that (client).
|
||||
//
|
||||
// Use the session's manager `Destroy(ctx)` in order to remove the cookie as well.
|
||||
func (s *Session) Destroy() {
|
||||
|
||||
Reference in New Issue
Block a user