Okay to use $_SESSION in plugins?
In the process of creating a plugin, I needed to use a $_SESSION in order to save info but I noticed that session_start() is not used in WordPress.
So I started to think that WordPress does not want you to use $_SESSION. If this is the case, what is the proper way to go about doing something equivalent.
If it’s okay to use $_SESSION, should I put the session_star() in wp-config.php or in the plugin itself?
Sorry in advance for being a WordPress newbie but hopefully I’ll be able to repay the community in the future when I get a hang of this.
- The topic ‘Okay to use $_SESSION in plugins?’ is closed to new replies.