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

103
Vistas
XMLHttpRequest to another subdomain with cookie persistence?

I am using XMLHttpRequest to submit data from a form on one subdomain to another. The code below is an example. However when doing so the PHP code in the page being requested notices that no cookie was set even if multiple requests were made. The PHP code thus needs to create a new cookie for each request. How is is possible for the cookie to persist in the target subdomain if multiple requests are made?

It will be difficult for me to change the cookie/session settings from the calling subdomain.

var url = "https://www.example.com/page.php?param=value"
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", url, false ); 
xmlHttp.send( null );
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