Grammar and typo fixes for 06.5.md

This commit is contained in:
Anchor
2014-09-29 14:34:48 -07:00
parent 4e6780f7aa
commit 2da55ea1fa

View File

@@ -1,9 +1,9 @@
# 6.5 Summary
In this chapter, we learned what is session and what is cookie, and the relationship between them. And because Go doesn't support session in standard library, so we designed a session manager, go through the whole processes from create session to delete session. Then we defined a interface called `Procider` which supports for all session storage structures. In section 6.3, we implemented a session manager that use memory to save data. In section 6.4, I showed you how to hijack session and the way to prevent session hijack. I hope you know all the working principles of session in order to use session by safer way.
In this chapter, we learned about the definition and purpose of sessions and cookies, and the relationship between the two. Since Go doesn't support sessions in its standard library, we also designed our own session manager. We went through the everything from creating client sessions to deleting them. We then defined an interface called `Provider` which supports all session storage structures. In section 6.3, we implemented a memory based session manager to persist client data across sessions. In section 6.4, I show you one way of hijacking a session. Then we looked at how to prevent your own sessions from being hijacked. I hope that you now understand most of the working principles behind sessions so that you're able to safely use them in your applications.
## Links
- [Directory](preface.md)
- Previous section: [Prevent hijack of session](06.4.md)
- Next chapter: [Text files](07.0.md)
- Previous section: [Prevent session hijacking](06.4.md)
- Next chapter: [Text files](07.0.md)