A persistent cookie is set once a successful registration occurs , and the client s user id is added to the session once a successful login occurs 注册成功之后,设置一个持久的cookie ;登录成功后,将客户机的用户id添加到会话中。
Gets or sets a value indicating whether to display a check box to enable the user to control whether a persistent cookie is sent to their browser 获取或设置一个值,该值指示是否显示复选框以使用户可以控制是否向浏览器发送持久性cookie 。
Which remain in the cookie file of your browser for much longer though how long will depend on the lifetime of the specific cookie 永久数码存根persistent cookies将保留于您的浏览器内相对较长的时间有关存留期将因个别数码存根而异。
If a user selects the remember me next time check box when he or she logs in , the authentication token will be stored in a persistent cookie in the browser 如果用户在登录时选中“下次记住我”复选框,身份验证令牌将被存储在浏览器的持久性cookie中。
For example , non - persistent cookies are useful if the user is working on a public computer , where you do not want to write the cookie to disk 例如,如果用户在使用一台公用计算机,而您不希望将cookie写入该计算机的磁盘中,这时就可以使用非永久性cookie 。
If you want the authentication token to be stored in a persistent cookie without giving the user the option to clear the remember me next time check box , set the 如果希望将身份验证令牌存储在持久性cookie中,而不为用户提供清除“下次记住我”复选框的选择,则将
Therefore the next time the user returns to the site a persistent cookie remains , but the user id is no longer in the session object , and therefore the user must log in again 因此,当该用户下一次重返站点时,虽然保留了一个持久cookie ,但用户id不在session对象中,因此用户必须再次登录。
A non - persistent cookie like this is useful for information that needs to be stored for only a short time or that for security reasons should not be written to disk on the client computer 这种非永久性cookie很适合用来保存只需短时间存储的信息,或者保存由于安全原因不应该写入客户端计算机上的磁盘的信息。
However , clickonce does not support forms - based authentication because it uses persistent cookies ; these present a security risk because they reside in the internet explorer cache and can be hacked 但是, clickonce使用持久性cookie ;这些cookie带来了安全风险,因为它们驻留在internet explorer缓存中,可能受到攻击。
Control , such as whether the login information is stored in a persistent cookie in the browser or whether the login control is visible on pages other than the default login page when a user is logged in 控件的更多高级功能,如用户登录时是否将登录信息存储在浏览器的持久性cookie中或者login控件(在默认登录页以外的页上)是否可见。