Skip to content

New Lesson: Cookies #28848

Open
Open
@MaoShizhong

Description

@MaoShizhong

Lesson: Cookies

Lesson overview

Lesson exploring cookies and various cookie options.

Lesson outline

The following items define the scope of the lesson. The lesson outline is flexible; you can improve, expand, and omit items whilst writing lesson content (make sure the pull request description mentions that).

  • High level overview of cookies and what they can be used for.
  • Explain the different options like httpOnly or secure.
    • Explain when different options may be needed e.g. same/cross-site context, how it might affect local dev vs deployed environments.
  • Keep the scope relatively simple as the surrounding lessons are in a same-site context, and cross-site specific solutions (like CHIPS or reverse-proxies) can be explored in a later lesson e.g. JWTs vs sessions.

Acceptance criteria

If the requirements here are not met, the work effort is not complete.

  • Lesson conforms to the outline above (unless outline has been modified).
  • Lesson follows our Layout Style Guide.

Additional information

Get the lesson template

Download the lesson template using the following command (replace lesson_name with the actual lesson name):

curl -o <lesson_name>.md https://raw.githubusercontent.com/TheOdinProject/curriculum/main/templates/lesson-template.md 

Metadata

Metadata

Assignees

Labels

Project Node RevampIssues/PRs related to the Node Revamp projectStatus: StaleThis issue/PR has been inactive for over 30 days and will be closed if inactivity continues

Type

No type

Projects

Status

On Hold

Relationships

None yet

Development

No branches or pull requests

Issue actions