[dokuwiki] passing dokuwiki auth info to another application

  • From: "newsletter@xxxxxxxxxxxxx" <newsletter@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 31 Jul 2017 23:47:45 +0200

Hi,

i would like to use dokuwikis authentification using authpdo to log into a second application.

For a start i called a bsiac php script witin the basepath of dokuwiki and printed $_SESSION and $_COOKIE. As a result i get an empty session array and a cookie array without PHPSESSID.

What do i have to do to get the dokuwiki username and a dokuwiki sessionid via $_SESSION OR $_COOKIE in a wiki external php script?

Any help appreciated!

Best


The script:

<?php
session_start();
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
print_r($_SESSION);
print_r($_COOKIE);
?>

--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: