Java Coder
Fatal error: Call to undefined function session_register() in .php file
2 Answer(s)      2 years and 8 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










Related Tutorials/Questions & Answers:

Ads

Advertisement