- 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.
- 數(shù)據(jù)通信網絡實踐:基礎知識與交換機技術
- OpenLayers Cookbook
- 新一代物聯(lián)網架構技術:分層算力網絡
- JBoss EAP6 High Availability
- 物聯(lián)網概論(第2版)
- Building RESTful Web Services with Spring 5(Second Edition)
- 大話社交網絡
- 物聯(lián)網通信技術
- Mastering Dart
- 網管第一課:網絡操作系統(tǒng)與配置管理
- Getting Started with nopCommerce
- 全聯(lián)網標識服務
- 基于IPv6的家居物聯(lián)網開發(fā)與應用技術
- 現(xiàn)場綜合化網絡運營與維護:運營商數(shù)字化轉型技術與實踐
- Hands-On Reactive Programming in Spring 5