I'm currently developing a new Moodle portal that has to integrate with an already existing web site. I thought I could just use PHP's $_SESSION variable to pass data from the other system to Moodle but it seems like Moodle resets my session variable.
How can I prevent Moodle from doing this?
What would be the correct way to pass session data to Moodle?