PHP - make session expire after X minutes

前端 未结 2 1363
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 12:42

i am using the following technique...

From the login.php the form posts to the page check.php where i do this



        
2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 12:54

    I would look at session_set_cookie_params and ini_set("session.gc_maxlifetime", "18000");

提交回复
热议问题