Category "cookies"

PyQt5: How to set SameSite/Secure headers in QNetworkCookie

I have some Python code which sets a cookie like this: loader = QtWebEngineWidgets.QWebEngineView() profile = QtWebEngineWidgets.QWebEngineProfile("storage", lo

How to create a cookie to store the timestamp of when a page is first loaded with php

I would really appreciate any help if possible! This is the question: Use a cookie (NOT PHP SESSION) that expires a year from now to do the following: Record th

What is the point of X-CSRF-TOKEN or X-XSRF-TOKEN, why not just use a strict same site cookie?

Frameworks such as laravel and others require you place the csrf token in your HTML forms. However at the same time laravel comes by default with the VerifyCsrf

How to accept facebook cookies using python selenium?

I have a problem clicking the facebook accept cookies button on facebook creator studio website. Cookies are shown only when the page is opened by the program,

How to block cookies until consent is given with Javascript [duplicate]

My company has given me the task of creating a cookie consent package that can be included in any of our different Javascript single-page appl

Decrypt Cookies (encrypted_value) from Chrome/Chromium 80+ in C# - Issue with Auth Tag

I got an issue with decrypting cookies that are stored in Chrome's sqlite db under encrypted_value. The extraction from the sqlite db works just fine: // fileP

How to rewrite costum Gdpr cookie consent jquery code snippet into pure javascript

I need help with Gdpr cookie consent Jquery code snippet below to rewrite it into pure javascript. Can any one please help me rewrite it into pure javascript? T

How to save a cookie in an Android webview forever?

With my code below, I have been able to save a cookie, but as soon as I close the application the cookie disappears. How is this caused and how can I solve it?

How to check if cookies exist in ColdFusion 2016?

We just recently upgraded our test server from CF10 to CF16. One of the problems are cookies. After I tried to login to our system message showed on the screen

How to bypass a 'cookiewall' when using scrapy?

I'm a new user to Scrapy. After following the tutorials for extracting data from websites, I am trying to accomplish something similar on forums. What I want

Owin app with WsFederation authentication stuck in infinite redirect loop

I have an Owin app that uses Ws-Federation authentication with a SSO application (not ADFS). Whenever my Owin app receives a request, it authenticates the user

ASP.Net Cookie, my session values are null

I have problem with my cookie and session. I use cookies to move data between pages, and sessions only to check whether a session is logged or not. But after as

Set cookies for cross origin requests

How to share cookies cross origin? More specifically, how to use the Set-Cookie header in combination with the header Access-Control-Allow-Origin? Here's an ex

How to get screenshot of the complete cookie banner of webpage in selenium python

enter image description here I am able to get the full screenshot of the webpage but not the cookie banner.Can i do it in selenium or i should use any other too

How to tell if a user is logged in with http only cookies and JWT in react (client-side)

So I'm trying to follow the security best practices and I'm sending my JWT token over my React app in a only-secure http-only cookie. This works fine for requ

ASP.NET_SessionId cookie for asp.net webform based website need GDPR compliance

I have a website which where developed in asp.net webform few years back & due to GDPR compliance i am not sure ASP.NET_SessionId cookie need user explicit

How to store dates that will expire in an hour in React?

I have an app with datepicker from antd ui library. The question is about keeping data for an hour after it was chosen with datepicker. Please help me to implem

Execute only one time and then wait set period of time before executing again

I am trying to make a pop up execute only 1 time for a user every 30 days. Currently the pop up is being executed in an infinite loop. Every time I trigger it e

Force MVC CookieAuthentication to timeout prematurely, then setup combination of sliding and absolute expiration

I am maintaining a website that using cookie authentication in a ASP.NET MVC5 application. When the application went live the cookie time out is set to a very l

Cookies with SameSite=None; Secure=true are not sent in all contexts. Chrome 91

I have a web application hosted at https:/parent.example1.com that embeds a cross domain iframe running on https:/child.example2.com. I control both apps. I nee