Nowon Leeblog.nwlee.com·Dec 22, 2024Next.js 미들웨어에서 백엔드 API로부터 발급받은 쿠키를 활용하기쿠키 이슈 Next.js에서 서버 컴포넌트는 서버에서 실행되고 렌더링되는 컴포넌트이다. 다음과 같은 특징이 있다. 서버에서만 동작하기 때문에 데이터베이스, 파일 시스템에도 접근할 수 있다. 서버에서 미리 렌더링된 UI를 그대로 클라이언트로 전달하기 때문에 자바스크립트 번들 사이즈를 줄일 수 있다. 브라우저에서 실행되지 않기 때문에 useState, useEffect와 같은 리액트 API를 호출할 수 없다. 별도의 백엔드 API가 개발되...Next.js
Muhammad Adeelauthentication-explain.hashnode.dev·Dec 19, 2024Authentication and its typesLet's dive into the concept of authentication, breaking it down into simple terms so you can understand it thoroughly. Authentication plays a vital role in ensuring security, especially when working with applications that require user verification, s...1 likeauthentication
Manya LambaforWeb Securitywebsecurity-bymn.hashnode.dev·Dec 19, 2024Session HijackingIntroduction: A Digital Heist in Plain Sight Imagine shopping online, adding items to your cart, and preparing to check out—only to find items you didn’t add. This could mean you’re a victim of session hijacking, where hackers steal your active sessi...38 readsDeveloper
Sakshi from KushoAIsoftware-deep-dives.hashnode.dev·Dec 10, 2024Storage Wars: Choosing the Right Client-Side Storage SolutionThis blog is written by Jeremy Rivera at KushoAI. We're building the fastest way to test your APIs. It's completely free and you can sign up here. When building an application, a difficult choice we as developers often face is the challenge of storin...Web Development
Anusha Tomardifference-between-cjs-and-esm.hashnode.dev·Dec 6, 2024Cookies and Sessions: Everything You Need to Know!Imagine walking into your favorite coffee shop. Every morning, the barista knows exactly what you want - a caramel latte with extra foam. But what if they forgot who you were each time you walked in? Frustrating, right? This is exactly what happens o...10 likescookies
JealousGxblog.jealous.dev·Dec 5, 2024Mastering Cookies in Node.js and Go: Advanced Techniques for Scalable and Secure Web ApplicationsIn modern web development, cookies play a pivotal role in managing user sessions, preferences, and state across web applications. This guide dives deep into cookies' advanced usage in Node.js and Go, providing practical examples, best practices, and ...cookies
Abdul Rahman Moinrefresh-token-vs-access-token.hashnode.dev·Nov 29, 2024Refresh Token vs Access TokenWhat is an Access Token? An access token, typically JWT, is an encrypted thing that saves the time of the user and the server cost the website owner. But what actually is it? It is an encrypted token or string that is equal (when it got decrypted) to...refresh-token
Himanshu Sonihimanshusoni30.hashnode.dev·Nov 4, 2024Retrieve cookies from HTTP response header using PostmanScenario We aim to make a GET API call to the customer database to validate user details and retrieve the session token, authentication token, and other related tokens as cookies from the server. These cookies are returned in the response header and ...API TESTING
Allan WANJIKUblog.allanwanjiku.tech·Oct 31, 2024Cookies Explained: Why Websites Remember YouCookies are a crucial part of the HTTP protocol. They allow the server to send data to the client, which the client stores and resubmits to the server. While they enable swift browsing, they are also vulnerable to abuse by hackers. Main uses of cooki...website tracking
Thirdy Gayaressoftware-engineer.thirdygayares.com·Oct 19, 2024What is Cookie?A cookie is a small piece of data that a web server sends to a user's web browser. The browser may store it on the user’s computer and then send it back to the server with subsequent requests. Cookies are primarily used to remember information about ...cookies