-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Full Stack Web Development with Remix
By :

Session management describes the process of preserving data across different user interactions and request-response roundtrips. Session management is crucial to provide personalized experiences on the web. In this chapter, we will work with Remix’s primitives to manage application state and user session data. This chapter covers the following topics:
First, we will work with Remix's primitives to tie application states to URL search parameters. Then, we will utilize HTTP cookies to persist user session data. Finally, we will use the session cookie to authenticate users in loader
and action
functions.
After reading this chapter, you will understand how to work with search parameters to control application states in Remix. You will also know how to submit forms programmatically using Remix’s useSubmit
hook. You will further...