A.Salam Alasaadi
A.Salam Alasaadi

Reputation: 167

Sharing cookies across different domains and different applications (classic ASP and ASP.NET)

Is there a way to share cookies across different domains and different applications (classic ASP and ASP.NET)

Upvotes: 9

Views: 25396

Answers (3)

Reza
Reza

Reputation: 426

you can use cookie convertor which save all the cookies in the share database and try to recreate them again.

Upvotes: -4

Tom Gullen
Tom Gullen

Reputation: 61727

You can share cookies via some behind the scenes communication between servers, or through querystrings.

Both are ill advised, unless the information in the cookies is harmless (but be aware that harmless looking data quite often isn't actually harmless).

Native support for accessing cookies is not possible cross domain, and probably will never be for security reasons.

Upvotes: 6

Oded
Oded

Reputation: 499002

No, there isn't.

The issue is the cross domain one, rather than the asp.net/classic asp and is security reasons.

If the domains are subdomains you can share the cookies, provided you use a cookie path that both can access (ie. for the domain sub.example.com you can read and write cookies using the example.com domain).

Upvotes: 20

Related Questions