HI Shawn, It would be helpful if you posted your Model Glue.xml file here: http://modelglue.pastebin.com
We can help more if we can see your configuration. DW On Mon, Jun 7, 2010 at 11:38 AM, Shawn <[email protected]> wrote: > I am having an odd issue with PDF's hijacking my "Body" view and I > think my user verification implementation was done poorly: > > Well basically I have 3 session variables: username, password > (hashed), and userVerified. And all of my secured pages have a > "verifyUser" message broadcasted with a <result name="UserNotVerified" > do="loggedout" />. The "loggedout" event sets the body and all other > views back to the log in screen. That works perfectly in every case > except with PDF's. For some reason, if I hit the page without logging > in, the PDF generates perfectly. If I comment out the <cfdocument > format="pdf">...</cfdocument> then the log in page shows as it should. > For the time being, I put a <cfif isDefined('userVerified') AND > userVerified> ... </cfif> around the cfdocument tags but shouldn't MG > handle this the same as any other page? > > Also, now that I am talking about my user log in system, is this a bad > implementation of user verification? Or are there recommendations > about a better system? > > Thanks, > Shawn > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<model-glue%[email protected]> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en -- William Osler - "We are here to add what we can to life, not to get what we can from life." -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
