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.
35,299
questions
0
votes
0
answers
3
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&...
-1
votes
0
answers
7
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 ...
-1
votes
0
answers
8
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 ...
0
votes
0
answers
9
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 ...
0
votes
0
answers
23
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 ...
-1
votes
1
answer
21
views
Does anyone know how this website handles cookies?
I'm analyzing https://qiye.obei.com.cn/web-zone/bwzy/procurement.html ,I found that it has three cookie values to process,]
and i think the first two cookies are obtained through requests,]
I ...
0
votes
0
answers
14
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 ...
0
votes
0
answers
12
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 ...
-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
...
0
votes
0
answers
11
views
Adding multiple cookies for the ASP.NET Identity
I have a use case in which I need to use two /login and /logout endpoints depending on the authorization request, each will perform specific tasks.
I'm using ASP.NET Identity:
builder.Services....
-1
votes
0
answers
14
views
PWA on iOS Not Retaining Cookies and LocalStorage After App Restart
What happened
I encountered an issue with my Progressive Web App (PWA) on iOS where user login states were not maintained upon closing and restarting the application. Here are the details of my ...
0
votes
1
answer
11
views
CEFSharp with 2 browser instances and need to delete cookies separately
I have 2 WinForms, each with its own browser instance. Everything is working great but I cant seem to figure out how to clear the cookies for the chosen instance instead of globally.
To set the cache ...
-1
votes
0
answers
18
views
error loading google map image on website [closed]
enter image description herehello I have just transferred my website from jimdo to hostinger, to migrate the data, I downloaded the code of the site from an external app, everything works well with ...
-4
votes
0
answers
16
views
cookies appear as undefined
index.js
app.use(cookieParser())
authToken.js
const jwt = require('jsonwebtoken');
async function authToken(req,res,next){
try {
const token = req.cookies?.token || req.header
...
0
votes
0
answers
20
views
Django sessionid cookies disappearing upon refresh
I am using a Django DRF backend with SessionAuthentication and a NextJS frontend. They are hosted on different ports. I am trying to use the django login function to automatically log the user in when ...