How do I make cookies expire after a set time period?(FAQ)# Java - 爪哇娇娃
b*g
1 楼
Depending on how you use the data stored in a cookie, it is
sometimes a good
idea to make the cookie expire. Since anyone using the
browser will have the
cookie sent
on their behalf, it may appear to be a legitimate user when
in actual fact
it is not. This often happens in places like Internet cafes,
school or
university computing labs, or
libraries. If your cookie sends a user identifier that
facilitates access
to sensitive data, or allows changes to be made (for
example, a web-based
email serv
sometimes a good
idea to make the cookie expire. Since anyone using the
browser will have the
cookie sent
on their behalf, it may appear to be a legitimate user when
in actual fact
it is not. This often happens in places like Internet cafes,
school or
university computing labs, or
libraries. If your cookie sends a user identifier that
facilitates access
to sensitive data, or allows changes to be made (for
example, a web-based
email serv