Skip to main content

Questions tagged [cookies]

The tag has no usage guidance.

1 vote
1 answer
283 views

Should I store session id in server database?

I wanted to implement login system using flask framework. I managed to do this using sessions and set them to expire after 31 days and it works (sessions are created using server secret key, timestamp ...
Paweł Michoń's user avatar
-1 votes
1 answer
82 views

What are possible casue of broken websites when old cookies are present? [closed]

I have more than 10 years of experience as a web dev. Mostly do Front-End stuff, but I also do backend for personal projects. I never had this kind of bug in my app that required clearing the cookies ...
jcubic's user avatar
  • 143
-3 votes
1 answer
77 views

How can a third-party site know your identity on other sites (e.g. Off-Facebook Activity)? [closed]

I'm a software engineer by trade, yet I am shocked and fascinated by something I learned just recently. For example, I found out Facebook has businesses and sites share information about my activity ...
gcr's user avatar
  • 95
0 votes
1 answer
1k views

Can I use a session cookie for API authentication?

I want to build a web application with a Single Page Application as the front end and an API as the back end. The front-end SPA will read and write data to the API. The SPA and the API will be hosted ...
Damien Monni's user avatar
0 votes
1 answer
476 views

Is it a bad practice to use cookies for a Desktop Application?

I'm working on a Desktop App in C# that communicates with a Java backend hosted AWS. I want to deploy on multiple instances and use an Application Load Balancer with sticky sessions but as Far as I ...
Hicham Zouarhi's user avatar
1 vote
0 answers
91 views

With cookie regulations (GDPR) in Europe and Google's phase out of 3rd party cookies, do analysis tools like Mixpanel etc. still work?

With the cookie regulations (GDPR) in Europe and Google's phase out of 3rd party cookies, do analysis tools like Mixpanel, Google Analytics, Heap etc. still work properly and continue to provide ...
Horst Walter's user avatar
2 votes
2 answers
1k views

How to authenticate front end with backend in an anonymous user flow [closed]

I have an API that will be exposed on the internet publicly, the primary use of this API will be initially by a ReactJs front end but in the future we'd be looking to open this up to other clients ...
A. Murray's user avatar
  • 181
1 vote
0 answers
138 views

Managing user session state with Google Sign In

I need some help with my authentication design. Happy to share any code as needed... Overview I have implemented the Google Sign-in (new web implementation here) button in my client web application. ...
Zack Shainsky's user avatar
1 vote
3 answers
2k views

What cookies are sent to the server during an API call?

I have tried to look this up online a lot but have found no concrete explanation that answers my question hence hoping someone can help me answer my question—- My question revolves around cookies and ...
CodingNewbie's user avatar
2 votes
2 answers
617 views

Roy Fielding’s REST alternative to HTTP cookies

I struggle to understand Roy Fielding’s REST alternative to HTTP cookies, § 6.3.4.2 ‘Cookies’ and § 6.5.4.1 ‘Application State in a Network-Based System’ of his doctoral dissertation Architectural ...
Géry Ogam's user avatar
6 votes
2 answers
19k views

How do you set cookies on frontend from the backend?

I'm a little confused about how to handle cookies between frontend and backend. I have a frontend react application a backend node express application. The frontend is hosted on Netlify and the ...
Dashiell Rose Bark-Huss's user avatar
2 votes
1 answer
80 views

Cookie consent and facebook cookies?

As a bit of a background, we create a website where a "third party" can organize a sport event, letting us handle enrollment and other checks. Well on our website ever since we implemented a cookie "...
paul23's user avatar
  • 1,091
2 votes
1 answer
304 views

Using Django Sessions when views are accessed by API

I'm making an app which is a Django backend and a React frontend (being developed by someone else). The plan currently is to fully decouple the two and have them communicate over API. However, I would ...
Neil's user avatar
  • 229
0 votes
1 answer
141 views

Affiliate Marketing - How to track all sales on 3rd party website made via my application

I'm looking forward to the possibility of an algorithm or a way to track how much sale has been made on 3rd party's website because of my client so I can get the commission. For example if a user "A" ...
Moiz Nadeem's user avatar
1 vote
2 answers
8k views

How to keep user logged in when using OpenID Connect & Cookies in dotnet core?

I'm working on an OpenID Connect Hybrid flow, basically the response type in my case is: code id_token Problem: I can't seem to persist the session of the user when logged in using the id_token. I ...
Hamza's user avatar
  • 99

15 30 50 per page