a_cdomain.html
来自「调查问卷系统源码。想下的就下吧。不要条件」· HTML 代码 · 共 8 行
HTML
8 行
<TABLE CELLPADDING=5 CELLSPACING=0 BORDER=0 WIDTH=100%>
<TR><TD style="text-align: justify;">
Introduced in phpQ version 2.0, the <B>Cookie Domain</B> allows you to set a specific domain name for phpQ to use when setting cookies. This can be extremely important to prevent a loophole in cookie restrictions for users taking a survey.<BR><BR>
If you fail to set this, cookies will simply be set under the domain they are accessed. This means that a user could first complete the survey at yourdomain.com and later complete it again at www.yourdomain.com even if you have cookie restrictions enabled.<BR><BR>
To correctly set this field, you need to use at least two periods in the domain name, such as '.yourdomain.com'. This will allow cookies to be sent to the script even if they were set from www.yourdomain.com or a similar other name. Certain extensions, such as .us or .uk will require three periods in the domain name to properly function.
</TD></TR>
</TABLE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?