[eluser]Unknown[/eluser]
Hi,
Forgive my ignorance, i'm new to frameworks, classes and such.
I'm trying to figure out how i can use the framework with a membership/subscription/authentication application already in use. I'm a little confused as to how i can capture the session data within the framework.
It seems that the membership application has its own sessions class, and provides me with code to insert into every page, or alternatively, uses mod_rewrite for folder protection.
So i can assign redirect urls for particular "groups" within my subscription administration so i put the framework folder under a protected group. I can login fine, but i don't know how to produce the SESSION info this application captures and use it in the framework application.
I do know that to obtain SESSION info without using the framework i use the below code..
Code:
session_start();
require_once '/path/to/settings.php';
require_once '/path/to/members/lib/userValidator.class.php';
$authClass=new userValidator(19);
$authClass->validateRequest();
$array = $_SESSION["omniSecure"];
Any ideas/suggestions would be greatly appreciated.
Cheers,
Nikki