Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

136
Visualizações
Is it possible to have cookies for different domain in a same session?

For example, I have two web projects(LocalProject and serverProject) and they were deployed at localhost and server.com respectively.

Now I login the LocalProject so I have the sessionid in cookies under domain locahost enter image description here

I want to have another sessionid for serverProject in cookies under domain server.com and try to login via fetch

const respLogin = await browser.fetch('server.com/web/login',{
    method: 'POST',
    headers: { 'Content-Type': 'application/json'},
    body: loginData
});

The request is succeeded and the server sent the sessionid to me enter image description here

But the problem is I cannot find this sessionId in the Application panel. Why and how can I fix this problem.

about 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda