Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- getModifierState
- API 토큰
- 컨디셔널 렌더링
- API token
- git lab
- rewrites
- styled components
- icon
- react typescript
- CSS
- nextjs
- react
- fetch
- nextjs .env
- ngrok설치
- Git
- next.js css
- ngrok실행
- react env
- dart 변수
- npm styled-reset
- nextjs 설치
- There isn’t anything to compare
- bootstrap
- github io
- typescript react
- createGlobalStyle
- github
- SCSS
- input type=file
Archives
- Today
- Total
목록cookie (1)
꾸준히 성장하는 개발자
[JavaScript] cookie
cookie -브라우저에 저장되는 데이터의 일종 -도메인 단위로 데이터 저장 (ex. a.com 에서 저장한 cookie는 b.com 에서 접근 불가) -용량과 개수에 제한이 있음 -만료일 설정 가능 -*자동으로 HTTP Request에 포함된다* (ex. 쿠키를 저장하고 나서 html 요청하면 해당 쿠키를 같이 전송) - 'key=value; key=value;' 이런 식으로 저장이 된다. document.cookie : 현재 페이지의 쿠키를 보여준다. document.cookie.split(' ; ') : ; (세미콜론)으로 나눠주면 쿠키가 몇 개인지 알 수 있을 것 document.cookie = 'name=gggg' : 쿠키를 이렇게 세팅도 가능하다. expires(유효 일자)나 max-age(만..
JavaScript
2022. 6. 23. 05:16