Jump to content

Recommended Posts

Posted

I've included a statement like:
 

$_SESSION['someData'] = "somedata";

 

inside the manage() method inside applications/core/module/front/system/register.php.

 

After visiting the register page I've called another script

sessionread.php


 

<?php


require_once('full_path_to/init.php');

\IPS\Session\Front::i();


die(var_dump(\IPS\Member::loggedIn()));

 

 

I'm unable to see the `someData`field inside the dumped session, any idea where things go wrong?

Outcome should be:
 

1.) Set session data upon signup page (when user visits the "register" page).

2.) Being able to read this session data field from my external script.

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...