I want to setup domain with disabled cookies, to serve static content.
我想设置带有禁用cookie的域,以提供静态内容。
1 个解决方案
#1
Don't set a cookie on your domain then. Seriously. That's all you have to do.
不要在您的域上设置cookie。认真。这就是你要做的一切。
Just use a subdomain, and make sure you don't hit whatever your scripting solution is (php, python, whatever) anywhere on that domain. Also, make sure you don't have any lighty modules enabled that cause cookie creation (I'm not sure if there are any or not, but best to check).
只需使用一个子域,并确保你没有在该域的任何地方点击任何脚本解决方案(php,python,无论如何)。此外,请确保您没有启用任何导致cookie创建的轻微模块(我不确定是否有,但最好检查)。
#1
Don't set a cookie on your domain then. Seriously. That's all you have to do.
不要在您的域上设置cookie。认真。这就是你要做的一切。
Just use a subdomain, and make sure you don't hit whatever your scripting solution is (php, python, whatever) anywhere on that domain. Also, make sure you don't have any lighty modules enabled that cause cookie creation (I'm not sure if there are any or not, but best to check).
只需使用一个子域,并确保你没有在该域的任何地方点击任何脚本解决方案(php,python,无论如何)。此外,请确保您没有启用任何导致cookie创建的轻微模块(我不确定是否有,但最好检查)。