Do not tell me how to find out the session ID in wordpress tried and session_id() and PHPSESSID and session.name issues everywhere if you use var_damp or print_r or 0 or Null
|
2 answers
There is such a thing - WP Session Manager
Allows you to work with the sessions in the usual way.
- Yes, I also look at this plugin. But I don’t understand how to pull out id. is it really $ wp_session ['id'] - Sergalas
|
if ( !session_id() ) session_start(); echo session_id(); - Formally, the answer is so-so ... On the verge of a comment (usually this is deleted), and it has more to do with pure PHP, and not with the engine. You're new here, get used to the local rules. - AK ♦
- Bad answer, needs clarification and description - Sublihim
|