menu_book Course Curriculum (Remix) expand_more
Routing
Loaders and Actions
HTTP and Sessions
createCookieSessionStorage
Learn createCookieSessionStorage in Remix through a focused explanation, a topic-specific example, an engineering warning, and a mastery check.
12 min read
•
Intermediate
remix-020.ts
typescript
const {getSession,commitSession}=createCookieSessionStorage({cookie:{name:'session',httpOnly:true,secrets:['secret'],sameSite:'lax'}});
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content