문제

I'm trying to establish a Cookieless Domain on my home virtual web server that has no domains name, only an IP address.

I've been trying to simulate the cookieless domain by opening another port on my router and telling Apache to listen for it. Everything loads correctly, but it doesn't seem to be cookieless (which makes sense because it's the same domain name, just a different port).

Is there any way I could set up a Cookieless Domain on my virtual server with no domain names, and only 1 IP address?

도움이 되었습니까?

해결책

I always personally thought that browsers would treat sites operating from different ports at the same domain name or IP address as unrelated, for things like cookies or same-origin policy, but your experience seems to indicate this isn't the case.

So I think the answer to your question is: No, this is not possible. I would suggest looking into some kind of dynamic DNS setup.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top