简体   繁体   中英

Set cookie site

I have a script that i server to my clients. Now without going into details the script is looking if the user has a cookie from a certain domain (my domain) and if the user has the right cookie some data and features are given to the user.

Now for secruity reasons me and my company had to change our base url address of the place where cookie is set.

Now even though the above seems rather strange i can ensure you that my question is fairly simple:

Is it possible to change the url of a cookie and if so how?

浏览器仅发送相应域的cookie,因此您必须通过新域上的php脚本再次创建cookie。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM