dtpf76658
dtpf76658
2016-03-21 10:20

在tomcat关闭后,Session仍然保持价值

I am using XAMPP app for my server. in my page: I write code for update session value as below

<?php
session_start();
$start = isset($_SESSION['start']) ? $_SESSION['start'] : 0; 
$_SESSION['start'] = $start + $num;
?>   

I run server in long time, after that I shutdown XAMPP with apache service after I restart apache again, I see that session value still keep ?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

相关推荐