Home >Backend Development >PHP Tutorial >PHP中session与数据库的有关问题

PHP中session与数据库的有关问题

WBOY
WBOYOriginal
2016-06-13 11:39:521206browse

求助PHP中session与数据库的问题
请问
我在做登陆页面的时候,session已经取得数据库字段中的数据
我在页面中保持会话状态时,数据库连接需要关闭吗?
如果关闭了 会不会影响会话?

session 数据库 会话
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn