Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

150
Vistas
Store Data Across Different Sessions?

In JS, say I have an app 'A' running on port 2000 and a different app 'B' running on 3000 that I would like to share a single variable between, i.e. something happens on app A and sets a var that app B can access.

Since this needs to persist (at least in the current session), I was thinking I could do this by setting session data in app A and then sharing/cloning that session data to app B, but is that possible? Even if I need to share the data across all sessions in the current window that's fine for my case, but given that these are apps occurring in different sessions, I'm not sure if sharing data between them like so can be done.

I'm aware I could also use a database to store the var and read it in, but I was curious if I could do this in just using the browser/window/JS. If my session idea doesn't make any sense or is impossible, how else might it be recommended I go about this? Thanks!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda