SharePoint Development Blog

Nick Boumans
View my LinkedIn Profile Follow me on Twitter View my Profile on FaceBook View my projects on CodePlex View my presentations on SlideShare



Recent posts

Tags

Categories

Navigation

Pages

Archive

Blogroll

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Function session_is_registered is deprecated PHP

Installing an Open Source PHP system (on Php 5.3) I got the error: 

Deprecated: Function session_is_registered() is deprecated in (filename).

I've solved this by using the functions

[code:xml]
session_start();
$_SESSION["variable_something"] = 'Yay! i'm into a session var!!';


en om te checken of deze bestaat:


if(isset($_SESSION["variable_something"])){
    echo "Session is alive!";
}
Posted: Aug 21 2011, 12:04 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under: PHP