Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーが Cookie を使用してログインし続ける方法を知りたいと思っていました。私はこのコードを持っています:
setcookie(session_name(),session_id(),time()+3600*24*7);
しかし、誰かが session_id を取得できるため、安全ではないと言われました。それで、ユーザーがphpでログインし続けるための他の安全な方法はありますか?