0

I have 2 node.js behind AWS's ELB withsticky session(domain address :xyz.example.com)

AWS's ELB sends a cookie for stick session thing on 1'st request.

I have a website hosted on abc.example.com and the ELB has domain address xyz.example.com.

Will the value of cookie sent by AWS's ELB be accessed by my site which is hosted on abc.example.com? Both abc.example.com and xyz.example.com are sub domain of example.com

Fabio Manzano
  • 2,709
  • 1
  • 6
  • 22

1 Answers1

0

In response to the initial comment, you can actually have control over the cookie by using an Application-Controlled cookie: https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application

This way you might be able to set hostOnly as false. Hope it helps!

Fabio Manzano
  • 2,709
  • 1
  • 6
  • 22