- Go Web Development Cookbook
- Arpit Aggarwal
- 149字
- 2021-08-27 19:01:20
Introduction
Sometimes, we would like to persist information such as user data at an application level rather than persisting it in a database, which can be easily achieved using sessions and cookies. The difference between the two is that sessions are stored on the server side, whereas cookies are stored on the client side. We may also need to cache static data to avoid unnecessary calls to a database or a web service, and implement error handling while developing a web application. With knowledge of the concepts covered in this chapter, we will be able to implement all these functionalities in a fairly easy way.
In this chapter, we will start with creating an HTTP session, then we will learn how we can manage it using Redis, creating cookies, caching HTTP responses, implementing error handling, and eventually end with implementing login and logout mechanisms in Go.
- Cisco OSPF命令與配置手冊
- 物聯(lián)網(wǎng)安全(原書第2版)
- 高校網(wǎng)絡(luò)道德教育研究
- OpenLayers Cookbook
- Wireshark網(wǎng)絡(luò)分析就這么簡單
- WordPress Web Application Development
- Building Web Applications with ArcGIS
- VMware NSX網(wǎng)絡(luò)虛擬化入門
- 計算機網(wǎng)絡(luò)技術(shù)及應(yīng)用
- Learning Node.js Development
- 網(wǎng)絡(luò)空間全球治理觀察
- 計算機網(wǎng)絡(luò)技術(shù)
- Web用戶查詢?nèi)罩就诰蚺c應(yīng)用
- 小型局域網(wǎng)組建
- React Design Patterns and Best Practices(Second Edition)