On Sunday, July 6, 2003, at 08:00 AM, [EMAIL PROTECTED] wrote:


Nope, sorry. What is it you are trying to do with the session values?

Regards,

    Aparajita


Aparajita

What I am doing is trying to send to the browser a PDF version of a websale receipt. I have the code written in 4D that creats the pdf document in a blob and then sends it via SEND HTML BLOB. Since you can not call this command from within an Active4D page, I have to use the A4D_PreOnWebConnectionHook you wrote into the the On Web Connection method. I get the preprocesshook to run by sending a redirect to a non-existent document ie: WebCreatPDFReceipt.a4d and then in the A4D_PreOnWebConnectionHook method I check for the file name in the $2 parameter. However in order for my PDF creation method to work I need to get a parameter from the user browser that started this request so I know what content to put into the receipt. For now I am parsing it into the URL as part of the this non-existent filename that triggered the A4D_PreOnWebConnectionHook method. I was just looking for a cleaner way of doing it by checking for a form variable or other session item. It works now, I was just looking for a better and maybe somewhat more secure method.

Gary


------------------------------------------------------------------------ Gary Pedretty /\ [EMAIL PROTECTED] Systems Manager / \ /\ www.frontierflying.com Frontier Flying Service, Inc. / /\ \ 907-450-7251 voice 5245 Airport Industrial Road / / \ /\ 907-450-7238 fax Fairbanks, Alaska 99709 / / America's Original Homeland Security Serving Alaska's Interior / / "Love your neighbor as Temperature +55 spring is here. yourself" Matt 22:39 ------------------------------------------------------------------------



Reply via email to