PHP if session started


PHP >= 5.4.0 , PHP 7

if (session_status() == PHP_SESSION_NONE) {


For versions of PHP < 5.4.0

if(session_id() == '') {

Subscribe to receive free email updates:

0 Response to "PHP if session started"

Post a Comment

Bila Ada posting yang kurang, atau error atau yang lainnya, silahkan tinggalkan komentar agar artikel/post di perbaiki.
Jangan Lupa Cek Box "Notify Me" agar tahu komentar kamu dibalas oleh saya.

If there are any posts that are missing, or error or anything else, please leave a comment for the article / post to be fixed.
Do not Forget Check Box "Notify Me" to know our comments replied by me.