|Hi there I need this to be under a secure page but the page that generates the PDF is not working with sessions variables, is there any way I can get this working, I have an authentication system, and my sessions work every where less here, a simple example is
This at the top of the pdf php page
<?php session_start(); ?>
This to restrict
die('Direct access not permitted');
This is a ID of a logged in user that should print and I also use it to prevent access from un wanted users
<?php echo $_SESSION['userid']; ?>
But this seems to not be porting sessions from the page before, is there any way I can get this working?