0

Is it possible to set a cookie on a different domain? If so, what would be the best way to go about doing it? So For example if I was on attackersite.com and wanted to set a cookie called 'name' with a value on victimsite.com

Thanks.

Acid_
  • 15
  • 4

1 Answers1

0

You can not do that. Allowing something like this means a big security issue.

If you need to send data to a different domain you could try with a query string value.

ianaya89
  • 4,153
  • 3
  • 26
  • 34