Skip to content

Commit

Permalink
Merge pull request #192 from DavidGoodwin/feature-named-session
Browse files Browse the repository at this point in the history
use a named php session (session_name(...))
  • Loading branch information
pentium10 committed Oct 19, 2023
2 parents ed678bf + 76c4ffb commit 4324aee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/include.php
Expand Up @@ -11,6 +11,7 @@ function autoload_class($class) {

spl_autoload_register('autoload_class');

session_name('beanstalkconsole');
session_start();
require_once 'Pheanstalk/ClassLoader.php';
Pheanstalk_ClassLoader::register(dirname(__FILE__));
Expand Down

0 comments on commit 4324aee

Please sign in to comment.