35,123 questions
2
votes
3
answers
3k
views
Express Js/AngularJS cookie session lost
I'm new to express and I'm trying to save some data in session and then retrieve it in another query. My client app is an AngularJS app.
var express = require('express');
var path = require('...
Tooling
0
votes
0
replies
32
views
How to save user's info/are they logged in in a streamlit app
I am making Streamlit web app for school, and I just made a signup page where the user can enter a first and last name and password. I then store all that in a sql db. I made a working login page, but ...
1
vote
2
answers
319
views
Not able to set cookie in hono
i am using a hono framework for creating backend, and trying to add a cookie based authentication,
where i am storing jwt token in cookie and verifying it at the backend. but when i am trying to ...
0
votes
0
answers
783
views
nextjs cookie from api route not returned to client
I am using a JWT token inside a cookie so that I can have a short-lived cookie and then a refresh token that is used after say 5 minutes. I expect both cookies to be saved browser cookies on ...
0
votes
2
answers
98
views
In Next.js App Router:, cookie set in server action is not available during initial client render
I encountered a unexpected behavior with cookies in a Next.js when setting a cookie inside a server action and attempting to read it during the initial render of a client component. The server action ...
4
votes
2
answers
13k
views
Wordpress how to add httponly and secure flag to all SETCOOKIE() function?
I am new to wordpress. In few plugin's code, some of the setcookie() functions has HTTPOnly and Secure flag already SET and some of the setcookie() functions are without HTTPOnly or secure flag in a ...
25
votes
3
answers
37k
views
Clear all cookies in Asp.net Core
I'm working on a Asp.net Core website , and in my logout link I want to remove all current domain cookies.
when I was work with Asp.net MVC I tried this code
string[] myCookies = Request.Cookies....
0
votes
0
answers
73
views
HttpOnly SameSite=None cookie not persisted on mobile, works on desktop
I'm working on a Spring Boot backend with React frontend. I'm setting an HttpOnly cookie for refresh tokens like this:
@NotNull
private ResponseEntity<String> getStringResponseEntity(...
282
votes
9
answers
618k
views
How can I set cookie in node js using express framework?
In my application, I need to set a cookie using the express framework. I have tried the following code but it's not setting the cookie.
var express = require('express'), http = require('http');
var ...
4
votes
1
answer
11k
views
How to access Response cookies in angular2?
I'm trying to access this cookies (the response ones):
When I open the request in the chrome debug tools in the network section I can clearly see that the cookies are present, but how can I access ...
0
votes
3
answers
22k
views
OneTrust not working. Error message in console
I am trying to implement OneTrust for cookie consent into a site I made months ago. When I add the scripts code everything goes ok in localhost: it shows the message, the popup for cookie ...
-2
votes
0
answers
6
views
Chrome logs me out of all sites on every restart (Windows 11) [migrated]
I’m facing a weird Chrome issue.
Every time I fully close Chrome and reopen it, I’m logged out of almost all websites — ChatGPT, ClickUp, Substack, etc.
Google services (Gmail, Meet) stay logged in.
...
0
votes
0
answers
345
views
Next.js 16 Partial Prerendering (PPR) + Cache Components: Why is my dynamic segment not streaming after first request?
I'm experimenting with Next.js 16's new Cache Components and Partial Prerendering (PPR) to build a product page that:
Serves a static shell instantly (HTML for layout, header, footer)
Streams the ...
-1
votes
0
answers
60
views
I have a cookies production issue that I can't login on iphone and also it doesn't appear at all in production server
I'm trying to make users to be able to login using their iphone
also I don't receive any cookies in production! I don't know if it is something for security.
export const loginUserController = async (...
-1
votes
2
answers
131
views
How to set cookies from the backend on production? [closed]
I am trying to set cookies from the backend but the frontend (browser) keeps auto deleting them. This only happens on production not on localhost.
The cookie flow is this:
user clicks login with ...