-
- 24,544 Posts
Yes, using $_SESSION variables is fine if they do the job for you. As long as you don’t need to carry the value over for other users or have the values persist for later visits by the user, they are almost certainly the way to go. If you want to save them for use on later visits by the same user, then a user setting might be a good choice.