Skip to main content

Questions tagged [setcookie]

The setcookie function sends an HTTP cookie to a client.

setcookie
Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

Environment: - ORDS 25.2 deployed on Tomcat 9.0 - Java 17 - Database and APEX on separate servers (PaaS) - Reverse proxy: Nginx Problem: After upgrading to ORDS 25.2.1, the APEX layout breaks. Some ...
Flavia Cabral's user avatar
0 votes
0 answers
80 views

I'm running a .NET framework 4.7.2 application using OWIN cookie authentication under IIS as a virtual application locally (e.g., https://example.test/cms/) but I end up in and endless redirect loop ...
IkBenDeSjaak's user avatar
0 votes
0 answers
26 views

I deployed apis to api.xyz.com and frontend is on ui.xyz.com. When I set and send back jwt in cookie from serverx it only sets to be used with ui.xyz.com. Since, apis are on diff subdomain how do I ...
navinrangar's user avatar
  • 1,504
0 votes
1 answer
77 views

I'm developing a React app (http://localhost:5173) and a PHP backend hosted on a live server. I'm using JWT stored in an HttpOnly cookie for authentication. When I log in, the backend sets the cookie ...
walid's user avatar
  • 35
0 votes
0 answers
49 views

...
Tejasvi Singh's user avatar
0 votes
0 answers
31 views

In Chrome extension, I want to read the Set-Cookie header from the HTTP response when received. I did this several years ago and it worked, but surprisingly, I am unable to do it in the latest ...
Khan's user avatar
  • 303
0 votes
0 answers
61 views

Hy, i stuck in an JWT-Refresh issue. The Ktor-Server Code is the following: ...
LeaveX007's user avatar
0 votes
0 answers
187 views

I’m building an admin panel with FastAPI using sqladmin, and I’ve implemented a custom authentication backend by extending sqladmin’s AuthenticationBackend. In my login method, when a POST request is ...
federikowsky's user avatar
0 votes
0 answers
95 views

I have a web application running on kubernetes cluster. There are some cookies on the frontend part and I want to add this cookies in the request header. I'm using axios for sending request. I added <...
Jantoma21's user avatar
  • 495
1 vote
2 answers
405 views

How could I set partitioned cookies in PHP ? ("CHIPS") ? From my understanding the setcookie() cannot do that, I assume this can be done by ...
adrianTNT's user avatar
  • 4,162
1 vote
0 answers
40 views

My friend and I are working on a project together. I develop the backend with FastAPI and he uses Next.js for the frontend. I implemented session based authorization with session cookies that would be ...
Adedara's user avatar
  • 11
0 votes
0 answers
189 views

I've seen many variations of this question here, but as far as I can tell, my setup should be working. I'm working on a Next.js application that's sending a PUT request to our backend, which is ...
Wesley Weisenberger's user avatar
0 votes
1 answer
71 views

I have frontend running at https://fe-qa.mydomain.com and backend at https://qa.mydomain.com. In the Chrome Dev Tools under ...
jjrz's user avatar
  • 379
0 votes
0 answers
91 views

Until TYPO3 11.5 there has been a $dontSetCookie variable in the class FrontendUserAuthenticationof ...
Franz Holzinger's user avatar
2 votes
1 answer
305 views

I'm trying to set up CSRF on our project, using https://www.npmjs.com/package/csrf https://www.npmjs.com/package/fastify-cookie in NestJS The API generates cookie in response to AJAX request and in ...
Romko's user avatar
  • 1,807
0 votes
1 answer
61 views

Cookie is setting on browser successfully but can't retrieve it. working fine on localhost but facing issues on live links. cookie token says undefined. here is the code - ...
Business Scopioe's user avatar
3 votes
1 answer
2k views

I'm trying to setup ngx-cookie-service-ssr for my project. However, in the set up description, It's mentioned that I have to replace this code in the server.ts ...
Elyas Almubarak's user avatar
0 votes
0 answers
99 views

I have a html page, to which I would like to insert a .html template which is stored in a separate file. I have done it like this: index.html: ...
fascynacja's user avatar
  • 3,206
-1 votes
1 answer
47 views

so i have my backend java hosted on render i have my frontend react js hosted on firebase actual hosted URL's Render : https://back-i2pj.onrender.com Firebase : https://valyrian.web.app now i'm ...
Aniket soni's user avatar
1 vote
0 answers
39 views

Consider the following codes I collect from the libs/login.php file of Kahuk CMS: ...
Shah Alom's user avatar
  • 1,055
0 votes
1 answer
51 views

I have a condition that when a user shares his referral link then it sets a Cookie in the browser so that if GET value is ...
Muhammad Aleem's user avatar
-1 votes
1 answer
493 views

I am trying to access the cookies of websites, take Wikipedia for example and change their values. I also want to create cookies of my own and put them into my website. For some reason, which I'm not ...
Thegreen's user avatar
0 votes
1 answer
2k views

let's say we have a domain on www.example.com and the auth server is on auth.example.com After login, it sets some cookies with ...
N Fard's user avatar
  • 1,099
0 votes
1 answer
110 views

I have an express code that sends the cookie to get requests in some route: res.cookie("userID", `${userSaved._id}`, { maxAge: 900000, httpOnly: true }); ...
NITIN RAI's user avatar
0 votes
0 answers
66 views

It's my cors headers: ...
Imran's user avatar
  • 7
0 votes
1 answer
72 views

I'm running my project on different servers, backend on render and frontend on vercel. However I'm only running into this error on deployment, meaning that the cookie is either not being set properly ...
TeDi's user avatar
  • 57
0 votes
1 answer
104 views

I want to store cookies after the user logs in for the client to use, but when I use laravel jetstream, I don't know how to add cookies after logging in. Note that I am trying to use two different ...
QNJOONG's user avatar
1 vote
1 answer
2k views

I'm implementing authentication in a Node.js application by setting JWT tokens in cookies. Although the API request returns a status code of 200, the cookies are not being stored in the browser. ...
Abdur Rehman Khalid's user avatar
0 votes
0 answers
2k views

I use Nuxt 3, Vue 3 and pinia. I try to set cookies: stores/auth.ts ...
Dev's user avatar
  • 79
3 votes
1 answer
2k views

I am using two Google Cloud Run containers to host different applications. I changed the URLs in the question for privacy reasons (the structure stays the same obviously). A Laravel Backend which ...
beatcraft's user avatar
  • 299
-1 votes
1 answer
117 views

I am working on the Frontend of a Project and I am using the latest Blazor Web App InteractiveAuto after using InteractiveServer caused me a problem. To begin with, I created a login page, that take a ...
Amirul.gg's user avatar
0 votes
0 answers
40 views

To frame what im trying to do. I work for a small reatailer and we had an idea for a promotion where we put a gift card in a small safe. The Safe has the numbers 1,2,3,4,5 and needs 5 a digit code to ...
VinsonCernuto 's user avatar
-1 votes
1 answer
86 views

I need to take data from this URL: https://e453eb.myshopify.com/products/chakananecklace.json and I write a code: // Now, make the AJAX request ...
Aleks Per's user avatar
  • 1,659
1 vote
1 answer
660 views

I am stuck on this problem for a while now: I am trying to set a http only cookie in my Nest backend to store a jwt token that I can later access in my Next client. The part that should set it is this:...
K. Gero's user avatar
  • 39
0 votes
1 answer
324 views

I am experiencing an issue, I am using django 5 for my backend and nuxt 3 for my frontend. I have this view in django: ...
user25016662's user avatar
0 votes
1 answer
103 views

In php.ini where can I set the default "secure" parameter value to true for the setcookie() call(): https://www.php.net/manual/en/function.setcookie.php#:~:text=match%20all%20subdomains.-,...
Shawn's user avatar
  • 34.5k
0 votes
0 answers
181 views

I have a webapi where I do a login process and after I do the login process, I get a response. There is no token in the headers section of this response. But when I check the headers in the browser, I ...
mkya's user avatar
  • 1
0 votes
1 answer
52 views

I have a filterscript which works nice but when you click on a link it needs to remember your last selected filter. Does anyone knows how I can add this? Cookie/local storage? I have made a fiddle: ...
fourroses's user avatar
  • 124
0 votes
0 answers
87 views

I wrote a server with Node.js (in a .mjs file). I want to program a login. Through an HTML form, using the POST method, a function is called on my server where I in turn call an async function to ...
Fr0z3n's user avatar
  • 11
0 votes
0 answers
26 views

I am facing a problem that when I send request to my server for signin, I am able to see cookies in the network tab as response but it is not visible in application tab i.e. it does not get saved. I ...
Gauri Sharma's user avatar
0 votes
1 answer
1k views

I know I know, there are THOUSANDS of forums and questions where people get to make it work, and I've followed ALL of their suggestions, but I still cannot make it right and I'm literally wasting days ...
Marco's user avatar
  • 382
0 votes
0 answers
103 views

When your backend is deployed to aws and you have to develop http cookie authentication to a locally hosted reactjs frontend how do you implement it? The issue is.. When I call the login API endpoint ...
Pankaja Chalaru's user avatar
1 vote
0 answers
26 views

I am having an issue retrieving cookies i sent from the server, my unsigned cookies are sent parsed the cookies parser middleware in express, This issue doesn't occur when using postman This is a ...
Prosper Coded's user avatar
0 votes
1 answer
241 views

apologies if the title question is confusing, but I'm not entirely sure how to ask or phrase this. Basically, I want a button to trigger (it opens a popup) on page load—easy enough. However, the ...
bwoin's user avatar
  • 3
0 votes
1 answer
298 views

This is an ASP.NET MVC application. The cookies are not getting created in Firefox. There is no such issue in Chrome or Edge. ...
sukesh's user avatar
  • 2,419
0 votes
1 answer
286 views

I have 2 AppService, one for my django backend and another for my angular frontend. Each appService has its domain. On the login endpoint, the backend must generate and set a cookie with a jwt in the ...
JulianGibelli's user avatar
0 votes
1 answer
158 views

Ialready tried many things, but the browser still refuses to set the Cookie header on any request I make in the frontend. Both server and frontend running on my local machine. I created a hosts entry ...
Benny Alex's user avatar
0 votes
1 answer
148 views

My server works on localhost and my VPN address (26.185.15.150), when I make request to http://localhost:3500/login/auth, I get correctly response and cookies. When I make request to http://26.185.15....
BethakZS's user avatar
0 votes
0 answers
42 views

I am using expressjs cookieParser to sign and make http only JWT cookies. I'm not getting any errors but the cookies aren't showing up on my Vite project or when I use Thunderclient to login then test ...
Zach philipp's user avatar
0 votes
1 answer
214 views

I'm currently trying to set a cookie with key 'token' as: ...
ʍօɦɨȶ ӄʊʍǟʀ ֆɨռɢɦ's user avatar

1
2 3 4 5
25