Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
212 views

I'm currently trying to set a cookie with key 'token' as: import { setCookie } from "cookies-next"; export const setToken = (token = '') => { setCookie("token", token, { ...
ʍօɦɨȶ ӄʊʍǟʀ ֆɨռɢɦ's user avatar
1 vote
1 answer
1k views

We use CORS + SameSite to prevent CSRF attack on the server side & Next.js build a static site with Apache mod_proxy, the Domain component is handled by Apache's ProxyPassReverseCookieDomain ...
gavenkoa's user avatar
  • 49.6k
4 votes
1 answer
629 views

Chrome is planning to restrict support for 3rd party cookies further starting in 2024. https://developers.google.com/privacy-sandbox/blog/cookie-countdown-2023oct this means we need to use the CHIPS ...
R...'s user avatar
  • 2,798
0 votes
1 answer
58 views

First I am setting a new cookie with PHP and checking whether it exists or not. After that I am deleting it by setting the expiry date to the past and checking again whether it was successful or not. ...
Alexander Hunger's user avatar
0 votes
0 answers
62 views

I have a long text that needs to be saved in cookies. I break it down by the number of characters and try to save it into cookies cyclically, but only the last one is saved. Below is an example of ...
alias's user avatar
  • 155
0 votes
0 answers
510 views

I'm trying to send multiple Set-Cookie headers via a AWS Lambda Function integrated with an HTTP API from API Gateway but I cant manage to do that in a non-trash way. https://docs.aws.amazon.com/...
Felype Terra's user avatar
1 vote
1 answer
73 views

I'm working on a project using Django for the backend. I'm getting the XCRF token through API cookies, as shown in the Postman image below. I'm getting access through redux rtk query, also shown ...
Abdur Rehman Khalid's user avatar
0 votes
1 answer
685 views

I'm trying to set a cookie with the response from my server-side GTM container. My setup: Custom HTML tag on client-side GTM: <script> fetch('{{sst address}}', { method: 'POST', ...
Mariusz Brucki's user avatar
1 vote
1 answer
564 views

I have been researching types of cookies and have a question regarding client-side cookies. I understand that cookies created via JavaScript are tied to the domain they are created on, and are ...
shinyatk's user avatar
  • 1,105
0 votes
0 answers
32 views

There are multiple questions and answers regarding set up of cookies of one domain from another domain. I know it is not secure to implement. I have gone through multiple SO questions but do not find ...
Ashish Patel's user avatar
  • 3,652
0 votes
0 answers
88 views

I have Web API built on ASP.Net Core, using JWT Authentication. My current problem is that I had an unsafe way of sendnig to and savind on the client Refresh Token. Now I'm gtrying to make My API to ...
Nauaho's user avatar
  • 1
1 vote
0 answers
930 views

I'm facing a peculiar issue where the browser (I've tried both Chrome and Mozilla Firefox) doesn't seem to set a cookie from a POST response, even though the Set-Cookie header is present in the ...
Zineb Elouarradi's user avatar
0 votes
2 answers
1k views

Hello i'm trying to set some cookies for puppeteer so i don't have to login each time i launch my app. But i can't set it for some stupid reason, it just throws at me the same error no matter what i ...
liphone's user avatar
  • 23
0 votes
0 answers
1k views

how can i set secure flag for all cookies on my wordpress site? cookies I add this in wp_config.php but its do nothing @ini_set('session.cookie_httponly', true); @ini_set('session.cookie_secure', true)...
Slowrockdev's user avatar
0 votes
1 answer
111 views

I am facing some issues while sharing the cookie between wordpress and reactjs application. The following are the example IPs for frontend and wordpress: Frontend server IP address : https://165.23....
Saurav Singh kaurav's user avatar
0 votes
1 answer
32 views

How can we pass on cookies to the subdomain if it's on a different server? Basically, the main domain is on siteground while the subdomain is on softr.io. I'm using it for the authentication, so when ...
Haider Gohar's user avatar
0 votes
0 answers
673 views

I am putting together a simple website but found that the browsers refuse to save any cookies my server sends them. Under what conditions might a browser reject the Set-Cookie header from a server? ...
sherrellbc's user avatar
  • 4,928
0 votes
1 answer
799 views

I need set cookie to redirect request but it's not working.. Everywhere everybody setting the cookie to Response property to Cookies but when I do it same so it's not working.. My Code: var ...
JD_1609's user avatar
  • 79
4 votes
1 answer
1k views

there is one error that I'm facing so the scenario is this I'm trying to set the cookies from a backend node js server to flutter web this is the code for the cookie res.cookie('something', 'hello ...
Mohammed Khan's user avatar
-1 votes
1 answer
662 views

the API for login provides userId,name and sessionId (for Cookies) when parameters are given in JSON body. here is the example code via POSTMAN var myHeaders = new Headers(); myHeaders.append(&...
Ahmed Ali's user avatar
1 vote
0 answers
205 views

Below is sample Go code for two Google cloud functions. Each function is in a different project. I want to set a cookie in the first function (myfunction1), redirect to the second function (...
Tom Scheifler's user avatar
3 votes
0 answers
1k views

In API, I use HttpClient to send request to another API. I need to use cookies in subsequent requests. Subsequent request should use the cookie set in the previous response. But in response there is ...
codecoder's user avatar
0 votes
0 answers
88 views

I am implementing a csrf protection in token based authentication in mern stack using Double Submit Cookie approach. Here, I am generating access token named as token, refresh token, and csrf token. ...
abhishek_maran's user avatar
0 votes
2 answers
2k views

My cookies is being passed from the backend to the frontend and its also available at the Set-Cookie in the headers tab on the console, but with that, the cookies is not appearing at the frontend in ...
Oyedeji Enoch's user avatar
1 vote
0 answers
321 views

I implemented a session with a secure cookie from the server. But on my employer's PC it's not stored. I maganed to reproduce this behavior denying cookies on my browser. Is there a way, API, to ask ...
Jose Javier Sanahuja's user avatar

1
2
3 4 5
25