Fatal error: Call to undefined function session_is_registered() in …

This is another nasty error when we access session attributes without proper check!

Fatal error: Call to undefined function session_is_registered() in G:\XAMPP\htdocs\market\login.php on line 2

This is a deprecated function. It will be resolved when we change to something like this.

if (!isset($_SESSION['myusername'])){

Treasures from Asia’s Oldest Museum: Buddhist Art from the Indian Museum, Kolkata

Treasures from Asia’s Oldest Museum: Buddhist Art from the Indian Museum, Kolkata

Advertisements

One thought on “Fatal error: Call to undefined function session_is_registered() in …

  1. Pingback: Fatal error: Call to undefined function session_register() in | JavaShine

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s