永夜 Blog

S_SESSION在.xxx.com中的共用打印结果 0

The realization of the login status synchronization based on Session under ThinkPHP 3.2.3beta version, and the notification of login and logout is sent based on UCenter

Post Views: 9 Because passport.xxx.com and soft.xxx.com are two secondary subdomains of xxx.com, in the case of both processing exit status, the Send a synchronization login notification through ucenter to realize login, but in...

如果勾选自动登录,则设置COOKIE['autologin'] 0

Thinkphp3.2, by default, the system will automatically start the session after initialization, and the implementation of automatic login within two weeks

Post Views: 8 Because the session has been automatically started, the session initialization setting has not been implemented; resulting in ini_set(session.gc_maxlifetime,   $name[‘expire’]);ini_set(session.cookie_lifetime,  $name[‘expire’]), and none of them can be set, so the session can...

修改默认网站根目录为:/var/www/wwwroot 0

Detailed explanation of the configuration implementation process of deploying the LAMP environment on the Alibaba Cloud server ECS, the operating system is CentOS 6.5 64-bit!

Post Views: 11 1. Use Putty to connect to the server remotely; 2. The current operating system is CentOS 6.5 64-bit. 3. Check the disk space usage, command: df-h 4. Check the disk space...