Hi all -

In a controller, I run the following code if a certain authorization
condition is not met:

arguments.event.setValue('message','Sorry, you do not have access to
the application.');
arguments.event.forward(homepage');

On the "homepage", I have the following code:

<cfif event.valueExists('message')>
        <p class="message">#event.getValue('message')#</p>
</cfif>

When I fail the authorization condition, I do not see the value of
"message" that was set in the event object. That is, unless I append the
message value in the forward function:

arguments.event.forward(homepage','message');

But with this the message and its value display in the query string.

How do I "send" the value of 'message' to the 'homepage' event noted in
the forward function without having it show in the query string?

Much thanks!

Gary

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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to