Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  
 

Fatal error: Call to undefined function session_register() in .php file

Ads

 
 

Share on Google+Share on Google+

Java Coder
Fatal error: Call to undefined function session_register() in .php file
2 Answer(s)      3 years and 7 months ago
Posted in : PHP

I upgraded the PHP and MySQL and in my application following error is coming:

Fatal error: Call to undefined function session_register() in ...php file.

How to resolve the issue?

Thanks

Ads
View Answers

December 27, 2013 at 12:06 PM


Hi,

You should remove the session_register() code from your code and use following code:

$_SESSION["mysessionvariable"] ="value";

Thanks



December 27, 2013 at 12:06 PM


Hi,

You should remove the session_register() code from your code and use following code:

$_SESSION["mysessionvariable"] ="value";

Thanks


Ads