Skip to main content
The 2024 Developer Survey results are live! See the results

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
0 votes
0 answers
21 views

Express Session not persisting through redirect in production with RedisStore

I am building a web app that uses session storage for key user identifying variables. In development, I used the default express-session MemoryStore with no issues. After deploying my node.js backend ...
Jack Diskin's user avatar
0 votes
0 answers
32 views

How to avoid session creation in cookies when going to STATELESS in spring 6

I am using spring security with spring 6(XML based) and tomcat. Previously i was using session but now i am moving to JWT. I already set it create-session="stateless" in spring-security.xml ...
Vijay chaurasiya's user avatar
0 votes
1 answer
28 views

Setting Cookie to Secure in Production Breaks Authentication

I am using express-session for authentication in my Express application. Here is the code I have so far: app.use( session({ store: new RedisStore({ client: redis }), secret: process.env....
Tejas_hooray's user avatar
-1 votes
0 answers
24 views

How long does leetcode cookie session last?

I'm building a app that make request to the leetcode graphql api. Inside this function header I've use the user stored cookie from my backend. My concern is how long does the cookie last, and how long ...
Xu Wang's user avatar
-1 votes
0 answers
40 views

How to get Cookie value in JavaScript page? [duplicate]

function getCookie(name) { const value = `; ${document.cookie}`; const parts = value.split(`; ${name}=`); if (parts.length === 2) return parts.pop().split(';').shift(); } document....
Madhu Patel's user avatar
0 votes
0 answers
16 views
+50

Need clarification on httponly cookie restrictions on firebase functions (v2)

Note: I am using firebase functions "v2" (const functions = require('firebase-functions/v2')) So, according to several sources, which I will list at the end, it seems as though the firebase ...
Michael Sohnen's user avatar
-1 votes
0 answers
9 views

Cache does not clear when invalidating the session while object data do

I have three servlets that handle login, display some data and log out each. In the login servlet in the doPost method I initialize my session with this code HttpSession session = request.getSession()...
Toxicone 7's user avatar
0 votes
0 answers
15 views

Reflected XSS Cookie Grabbing for Internal application

I'm able to execute reflected xss on an internal application which does not have internet access. The developer is asking me to exploit the issue. he also assures that the session id is mapped to IP ...
AppSec's user avatar
  • 1
0 votes
0 answers
28 views

Issue saving cookies while using express-sessions in MERN project

I am having a hard time saving the cookies on the client side of a MERN project. This is how the entry point of my server looks like: const express = require('express'); const app = express(); const ...
user20071254's user avatar
-1 votes
0 answers
42 views

Spring Security able to log in but no session actually being created

I have created login and logout as well as registration for my spring boot 3 application. The issue now arises when I click the login button, it is using the information from my mysql database to log ...
Nabeel Elberry's user avatar
0 votes
0 answers
20 views

How can I get the Serialized-ID token from Keyclaok so I can set cookies on a WKWebView in a SwiftUI app?

I'm trying to set cookies on a WKWebView so a user is logged in, however, I don't know how to get the necessary cookies or data to construct the cookies myself. For a user to be logged in the ...
Pieter's user avatar
  • 133
0 votes
1 answer
31 views

Deleted user remains logged in despite account deletion

I'm encountering an issue where users remain logged in even after their accounts have been deleted by an admin in my Express.js application using MongoDB for user data storage. When an admin deletes a ...
prajitha k's user avatar
1 vote
1 answer
45 views

Error 500 / page expired / missing response cookies for LARAVEL APP in XAMPP

I have some issue by running my laravel app in XAMPP. So I have 2 scenarios: Running app on php artisan serve - I do not get any error here Running app on XAMPP on localhost:4000 So I have a page ...
Tornado's user avatar
  • 21
0 votes
0 answers
18 views

Render same app in 4 different iframes of browser window each with unique JSESSIONID

A front end react app interacts with a legacy backend via an API gateway between them. It fires two requests - /api/login - where it passes LDAP credentials via API gateway to legacy backend and gets ...
Jacob's user avatar
  • 444
0 votes
0 answers
38 views

Facing issue while running API in postman “No session cookie provided”

While runnig API in postman getting error "message": "No session cookie provided", if any have idea then update it. Thank you. I have try to run API in postman but it is not ...
Kirti Nariya's user avatar

15 30 50 per page
1
2 3 4 5
326