Set-cookie header is not set becuase domain attribute is invalid

I have set cooki in nodes js with options that include domain .onrender.com but when i am sending request to my server it shows that unable to set cookie header. Because of invalid domain attribute.

Note… my front end and backend is hosted on render.com

Hi Vishnu,

Thank you for reaching out and apologies for the delay.

First, I just want to check to make sure you are still dealing with this issue. If so, can you please provide some additional detail around the error you are seeing? What causes the error to occur?

Regards,
Mike

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.