LoginSignup
1
0

More than 5 years have passed since last update.

$_SESSIONは何のために使うの

Last updated at Posted at 2018-07-19

セッションとは?

セッションはWebサイトにアクセスして行う一連の行動のこと。

この一連の行動をこちらで定義しておくことで、その間(セッション中)webサーバーはデータを保持したままにしてくれる。

例えば、ログインからログアウトまでを1セッションと考えることで、その間はログインしたままにしておくことができる。
ページを移動しても、いちいちログインしなおさずに済む。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0