Servlet七(Cookie)

Servlet七—Cookie


Cookie也是在Web程序中作为用户的访问标识。与Session不同的是,Cookie是保存在浏览器中,而不是服务器上。因此,可以将用户名和密码保存到Cookie中用作自动登录,但需要浏览器或其他客户端配合使用。

猜你喜欢

转载自blog.csdn.net/xiaolicd/article/details/81636272