You could set a request format type to your event handlers.  Do like that
event-type Chris suggested, but add the request format type to it and the
event-handler.  Your model-glue would look something like...

<event-type name="SetHTTPS">
<before>
<broadcast format="http">
  <message name="SetHTTPS">
</..
</..
</..

<event-handler name="user.login" type="SetHTTPS">
<!-- all these as format https to only run once HTTPS is set -->
  <broadcast format="https">
  ...
 </broadcast>
<results format="https" />
<views format="https" />
</event-handler>

The controller would have to set the https and like chris said redirect back
to same event.  I just don't know how to set the request type unless its a
URL parameter, then that's what you do.
-- 
Chuck Savage
http://SeaRisen.com

-- 
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

Reply via email to