Skip to main content

Questions tagged [cookies]

An HTTP cookie is a piece of data stored by the user's web browser. Unless otherwise specified, cookies can be created, read, modified and deleted both by JavaScript and from server-side through HTTP headers.

0 votes
0 answers
4 views

Adding Partitioned Attribute in existing cookies creates two cookie with same name in chrome browser

We have implemented the CHIPS(Cookies Having Independent Partitioned State) solution on our website by adding the partition attribute. It works fine when a user logs in for the first time. However, if ...
Khushboo Shaw's user avatar
0 votes
0 answers
17 views

passport.deserializeUser function never getting called

Passport's deserialization just does not work no matter what I do. This is my passport.js: const passport = require('passport'); const GoogleStrategy = require('passport-google-oauth20').Strategy; ...
hypedstan's user avatar
0 votes
0 answers
12 views

Setting Cookie to Secure in Production Breaks Authentication

I am using express-session for authentication in my Express application. Here is the code I have so far: app.use( session({ store: new RedisStore({ client: redis }), secret: process.env....
Tejas_hooray's user avatar
-1 votes
0 answers
9 views

What is the industry standard for session management on mobile?

I've been struggling to find an answer to this for a couple of days now, but I am trying to implement sessions in a mobile app. Most apps today (Amazon, Reddit, etc.) don't prompt you to sign in ...
darkshadowtrail's user avatar
0 votes
0 answers
50 views

Google Adsense - Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox

I have a page which is built by NextJS and integrate with Google Adsense & GA4. I saw a lot of warning in console log Third-party cookie will be blocked in future Chrome versions as part of ...
Thành Lý's user avatar
0 votes
0 answers
20 views

Steam Open Id ASP.NET Core cookie not found error

I am developing a Web API application, I want to enable authorization via steam. After logging in on the site, I get an error: statusCode: 500 An error was encountered while handling the remote login ...
Мэйби Бэйби's user avatar
0 votes
0 answers
7 views

Postman is receiving requests but not providing cookies

I am practicing Spring Security and started off with Basic Auth. I have CSRF enabled and I am using postman for testing my api endpoints. I am trying to retrieve the X-XSRF-Token to access other ...
Tumelo Mswela's user avatar
0 votes
0 answers
15 views

How to clean all expired cookies from Firefox?

I want to ask how can I clean all expired cookies from Firefox browser while keeping all working/unexpired cookies untouched? Can this be done by Firefox equivalent of "Expired Cookies Cleaner&...
Alexandra0056's user avatar
-1 votes
0 answers
15 views

How to Properly Use Cookies for Authentication in a Web Application?

I'm working on a web application and need guidance on using cookies for authentication. Note: I am a student so I might be missing some obvious points so please point them out if there are any. I ...
Aditya's user avatar
  • 29
-1 votes
0 answers
18 views

How long does leetcode cookie session last?

I'm building a app that make request to the leetcode graphql api. Inside this function header I've use the user stored cookie from my backend. My concern is how long does the cookie last, and how long ...
Xu Wang's user avatar
0 votes
0 answers
12 views

Ktor HttpResponse setCookies() only returns one cookie even though others are also available

Im currently trying to authenticate with an api, and need to get some set cookies. In inspect element I can see the set-cookies that I need as attached: However my code only returns the cookie ...
lvm12's user avatar
  • 33
0 votes
0 answers
29 views

C# http cookie not getting set in the browser

I'm trying to implement a JWT token authentication and I'm trying to store it in a HTTP cookie , but it is not getting set and i do not know why . This is my cookie settings , inside the Log in ...
Misu Stefan's user avatar
0 votes
0 answers
18 views

Setting JWT Cookies from Express Backend to Frontend

i am trying to set the cookie using JWT. On localhost everything works like charm. But when i deploy my FE(front-end) and BE(back-end) on render.com. i can login but after that i get the errors ...
Faisal Rehman's user avatar
0 votes
0 answers
13 views

How do I know if there's cookies in a website (as a developer)?

When you didn't code the website, but you'll need to handle with it from now on: How do you discover all the cookies running in this website? Not only by F12. It doesn't seen to show all them... And ...
Mary's user avatar
  • 1
-1 votes
0 answers
19 views

FastAPI Not Setting Cookies [duplicate]

I'm having an issue where for some reason Fast API is just not setting my cookies. Why is this? I have similar code to delete cookies and it works just fine. def set_cookies(): # Get cookie header ...
Superior125's user avatar

15 30 50 per page
1
2 3 4 5
2353