Maybe I drank to much kool aid today but i can't figure out why this is 
happening.

I have eventTypIe

Checks if user is logged in. 


       <event-type name="SecuredEvent">
            <before>
                <broadcasts>
                    <message name="getAuthenticated" />
                </broadcasts>
                <results>
                    <result name="notAuthenticated" do="Logon" 
redirect="true" />
                </results>
            </before>
        </event-type>
Below does SecuredEvent Fire off before the broadcasts runs in blah?

cause i keep getting session errors in my ajax events because user will 
leave their screen open then come back type into an autocomplete box which 
fires off ajax and i get an error with session stuff. 

Now i know it works cause as soon as they leave that page to go to another 
one it kicks them back to the logon screen. 

<event-handler name="blah" type="SecuredEvent">
        <broadcasts>
            <message name="getOrderLoadTotal" />
        </broadcasts>
        <results/>
        <views>
            <include name="body" template="blah.cfm" />
        </views>
    </event-handler>    
      

<event-handler name="blahajax" type="SecuredEvent">
            <broadcasts>
                <message name="jsonReturnForJqueryAutoComplete" />
            </broadcasts>
            <results/>
            <views/>
        </event-handler>

hope this makes sense

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to