[fw-general] Problem Adding New Pages to Existing PDF using Zend_Pdf

2009-07-24 Thread D h @ v @ l
HI all,

    I want to create large PDF files using Zend_Pdf. I have approx 2 million 
records in database and I want to create PDf of that. I know that much array 
size would causing me Memoery Exhaustion error.

   So I decided to Add Some data to pdf file and then fetch next data and then 
try to append to that pdf files, Now problem is that when I try to append to 
that file, I get pages overwrite. so it increases Size but I can see only Last 
pages inserted before save not all.

   What could be solution for that? 

Thanks,
Dhaval



  

[fw-general] Zend_Session_Validator Problem

2009-05-27 Thread D h @ v @ l
Hi all,

   
I want to authenticate session, I found new vaildator in 1.8 . I tried
to implement that so I have added code below to my bootstrap.php file.

protected function _initSessionCheck()
    {
    /** Register Session Validator for Validation purpose */
    Zend_Session::registerValidator(new My_Session_Validate());
    }

Now My_Session_Validate class is in file library/My/Session/Validate.php


Here setup method has been called every time when request go to server, but 
validate method
 doesnt called any single time. 
I havent put my validation code here, I want to check that does validate method 
is called or not? 

Waiting for Quick Replay,

Thanks,
Dhaval