update wx_home.php: using cookie replace session