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,293
questions
0
votes
1
answer
16
views
express-session does not persist session by cross site request
My client/server architecture:
Client (Frontend): Vue (Vite)
Server (Backend): Express.js
Currently i use only the http, because it's a develop enviornment.
For safe request purpose handling, i use ...
0
votes
0
answers
13
views
JSESSIONID is returning as Null
protected Cookie getSessionCookie(Function<IdTokenData, String> idTokenFactory, boolean validateAuthorizationRequest, boolean validateMocksWereRequested) throws Exception { var keyId = &...
0
votes
0
answers
6
views
Error with Express.js library with res.cookie, res.json, res.status, req.headers
Errors appear in the code:
Property 'cookie' does not exist on type 'Response any, Record string, any
Property 'json' does not exist on type 'Response any, Record string, any
Property 'status' does ...
1
vote
1
answer
25
views
Using XML-RPC with Cookies in Java
I am trying to load data from a website using XML-RPC. This works quite well so far, but not on pages that require a login. I send my user name and password for this.
I know from a colleague that ...
0
votes
0
answers
14
views
Headless Chrome Not Setting All Cookies
I have opened a chrome browser with some command line options.When this is in normal mode (non headless mode) it is setting the required cookies in the "Network.requestWillBeSentExtraInfo" ...
0
votes
3
answers
53
views
ASP.NET Core 6.0 MVC : get session and cookies in view
Browser>Application>Cookies
I am attempting to create session and cookies in a ASP.NET Core 6 MVC project.
When I debug the project locally on my PC, the session and cookies are working as ...
0
votes
0
answers
9
views
Spring Boot does not recognize cookie headers sent with Axios, React Native
I have been coding a React Native app for my Spring Boot backend server. I use basic form login, which requires jsessionid to be sent from the client to be authenticated.
This was my implementation:
...
-1
votes
0
answers
23
views
Cookies.set not created
enter image description hereenter image description hereI want to create a button that saves page data in a cookie. I do a spread (newFav) of my useState fav then I stringify the data in a constant ...
0
votes
0
answers
5
views
How to host a express js backend in vercel,i am getting error 404
I am trying to host an express js backend api on vercel
Here its my project structure for the backend folder . I am trying to host the backend folder
everytime it says me 404 error not found
This is ...
0
votes
1
answer
33
views
Python websocket
I've been trying to get access to the websocket of this site through Python, but it needs to bypass CloudFlare, and now I've tried to make the bypass through cookies, but this didn't work.
I've tried ...
0
votes
0
answers
20
views
Using Session Cookie to skip MFA Orchestration Step
I want to use the sso cookie to disable MFA via email, after user pressed on "keep me signed in", entered email and password and verified once via email.
Following the docu
https://learn....
0
votes
1
answer
25
views
System.Net.CookieException: the domain part of the cookie is invalid
In ASP.NET MVC (on .NET 4.8), I am getting the following error:
System.Net.CookieException: the domain part of the cookie is invalid
The error occurs in the following function:
private ...
0
votes
1
answer
51
views
Android cookies for external browser
anyone knows how to set the cookies to external browser from android applications?
#android #developement
I tried with intent and custom chrome tab it is not working .
Is there any script Java option ...
0
votes
0
answers
12
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 ...
0
votes
1
answer
32
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;
...