Questions tagged [session-cookies]

Session cookies enable a server and a browser to establish an identified connection (through cookies) and communicate though it.

Session cookies are temporary files that exist for a particular user for a pre-defined duration. Once this duration is expired, the session cookies are erased.

Session cookies allow a website to keep a state or memory of the visitor as they navigate between pages of the website.

4816 questions
1
vote
2 answers

Store value for a longer time - (how to store boolean value in cookie)

I know that by using $_SESSION, one can store values over time. The default time is 1440 seconds = 24 minutes. I would like my values to be stored: for a longer time/until the browser has been closed. Let's say I want to store the a boolean value…
Erik Auranaune
  • 1,384
  • 1
  • 12
  • 27
1
vote
1 answer

View IE7 per-session cookies

According to this answer, IE7 stores session cookies in memory and doesn't store them on the local filesystem. Is there any way to view the session cookies that IE7 is currently storing in memory? Thanks.
Brian Beckett
  • 4,742
  • 6
  • 33
  • 52
1
vote
1 answer

Why three dashboards are not working properly when all are open on localhost:3000 in different tabs in Chrome using nodejs?

So my project has 3 dashboards for client, admin and employee. All the three have different functionalities and options. (a little bit change) All 3 login with same login page that is : localhost:3000/login and all the 3 dashboards are dependent on…
Biku7
  • 450
  • 6
  • 16
1
vote
0 answers

Why does session end after browser app closes only on mobile

I have an MVC built website that uses Identity authentication. Logging in, closing the browser, reopening the browser and remaining logged in work fine on my desktop browsers (tried on chrome and firefox), however if I'm on my mobile (for example…
1
vote
1 answer

Cookie from subdomain A not sent to subdomain B

I have a front end Angular application that is hosted on dev.subdomain.mydomain.com. The application makes HTTP requests to an .net CORE API hosted on dev.api.mydomain.com. My angular application has a session cookie associated to it with the…
mduck
  • 197
  • 1
  • 6
  • 23
1
vote
1 answer

.Net Core Session Cookie Not set when deployed to Azure

I have an asp.net core 3.1 application that is using session cookies to keep track of some data. This is working perfectly fine on my dev machine, but the cookie is not set when deployed to an azure web app. What do I need to do differently to get…
dmoore1181
  • 1,793
  • 1
  • 25
  • 57
1
vote
1 answer

Third party cookies per site settings?

Have third party cookies blocked by default, and finally want to allow third party cookies for specific sites, well, because they don't work otherwise. Want to disable third party cookies for all sites except the ones I use for banking etc that are…
1
vote
0 answers

Expressjs & Angular for SameCookie Chrome 80

Hello I am using Angular for client-side & ExpressJS on server-side. Since Chrome 80 my Web App is not working on Chrome, all fine on other browser. All that is on Azure cloud. I tried to set cookie on express…
ollo
  • 11
  • 1
1
vote
2 answers

python requests POST error, session issue?

I am trying to mimic the following browser actions via python's requests: Land on https://www.bundesanzeiger.de/pub/en/to_nlp_start Click "More search options" Click checkbox "Also find historicised data" (corresponds to POST param: isHistorical:…
nwly
  • 1,360
  • 4
  • 16
  • 30
1
vote
0 answers

How to set content security policy to post cross site cookie

We are using a web application developed in ASP.NET MVC (SiteA), which accepts post request from other site call SiteB. But while posting request from SiteB to SiteA, we are getting following error of SameSite Cookie for Aspnet_sessionId. Here both…
mit
  • 1,763
  • 4
  • 16
  • 27
1
vote
0 answers

PHP session changing after a new window returns to my site from third party site

I have a PHP website www.example.com which has a button opening a new window with JS. It then loads a unique url to www.thirdpartywebsite.com via AJAX and sets the window's url: var newWindow = window.open("", "_blank",…
bloodleh
  • 493
  • 8
  • 28
1
vote
0 answers

Response content shorter than Content-Length

I'm doing a FastAPI app, with a function that authenticates to a CouchDB instance. In order to request Couchdb, I use the (yet unmaintained) library python-couchdb. Here is the relevant portion of code that illustrates my issue: from fastapi import…
Guillaume Fe
  • 369
  • 4
  • 16
1
vote
1 answer

Save a variable in react until the browser is open

The question may seem to be confusing, so let me explain, i'm building a react app that's basically about traveling and shows each cities tourist attraction by the city that the user has chosen, but the problem is all of the pages are filtered by…
ali mosavian
  • 85
  • 1
  • 9
1
vote
2 answers

ASP.NET Core custom login setup

I have a situation where we use the ASP.NET Core Identity Framework for the Intranet system with hooks into an old CRM database (this database can't be changed without monumental efforts!). However, we're having customers login to a separate…
RemarkLima
  • 11,639
  • 7
  • 37
  • 56
1
vote
0 answers

How can I get htaccess to retrieve username from a cookie?

TL;DR is there some way to set the REMOTE_USER variable when bypassing .htaccess login? I have a login and authentication system running in php on my website. In order to control access to a subdirectory I would like to use http basic auth with…
JedO
  • 133
  • 5
1 2 3
99
100