更新时间:2023-02-05 20:01:20
Try adding a sleep(2); before issuing the redirect header; that'll tell you whether it's actually a bug in your code somewhere, or if the session data just isn't being written to file fast enough.
sleep(2);
必须登录两次。 Chrome会话和Chrome和Opera的登录问题