Nope.
You MIGHT be able to fake it if you’re using subfolders, but subdomains wouldn’t work (nor would mapped domains) because of the way browsers handle cross-domain permissions (tl;dr – you don’t want to share sessions).
Keep in mind, cookies are per-site since sites are meant to be separate.
What sort of global session data are you aiming to store here?
Thread Starter
grrr
(@grrr)
Ok thx 4 the answer …
let me explain what i need …
When the User comes to DomainA(Blog A) i add some query params with my ISAPI rewrite …
(domaina and domainb are on same multisite installation)
User Types in http://www.domaina.de and lands on http://www.domaina.de?aktion=a¶m2=2
Now the User klicks on a link that goes to http://www.domainb.de … i need all query params go with him … i thought i can save them in sessionstorage .. but when he is on domainb it is a new session :_/
Well … no. THAT won’t work via sessions. Cross-domain protection in browsers pretty much promises that cookies from domainA will not be shared with DomainB.
That said, you should be able to write a plugin that always adds the queryparams on the end of all links, which would do what you need.
What’s the real-world usecase here? What query are you trying to share and why?
Thread Starter
grrr
(@grrr)
Hi my usecase: (googletranslator) 🙂
User scans a QRCode and will be forwarded to DomainA. My ISAPI then adds
? entryPoint = QR .. I would like to know about any other website which input channel he originally came.
i have done it now with a javascript plugin which extend all Links with current querystring on pageload ..