DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
HTML to PDF  
DwZone Forum Index -> HTML to PDF
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 1 to 10 of 74 (Total: 73) First |  Prev |  Next |  Last  
 Subject Author Date  
   https  
View this persons public profile  gunther   14:15 4 Oct 2019  
   Re: https  
View this persons public profile  Gianluigi   15:23 4 Oct 2019  
    Pdf generator ignoring Session Variables  
View this persons public profile  MiguelQuintero   12:20 3 Oct 2017  
 
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
<?php
if(!isset($_SESSION['userid'])) {
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?
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Pdf generator ignoring Session Variables  
View this persons public profile  Gianluigi   10:03 4 Oct 2017  
   Re: Pdf generator ignoring Session Variables  
View this persons public profile  MiguelQuintero   11:20 6 Oct 2017  
   table width  
View this persons public profile  gunther   13:54 28 Sep 2017  
   Re: table width  
View this persons public profile  Gianluigi   15:22 28 Sep 2017  
   Re: table width  
View this persons public profile  gunther   11:10 29 Sep 2017  
   pdf is not creating  
View this persons public profile  Daniel   15:09 17 Sep 2017  
   Re: pdf is not creating  
View this persons public profile  Gianluigi   9:51 18 Sep 2017  
Last Visit: Thursday 16 Sep, 2021 1:13 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: