Controllers are separate. Each request runs one or the other. You have
two options:

- compute the variable in a model (so it will be visible to both)
- have one controller store the variable in a session and retrieve it
in another http request by the other controller.


On Nov 29, 2:54 am, Saurabh S <[email protected]> wrote:
> Hi ,
>
> I have two controllers namely REGISTRATIONS and EVENTS , i have
> calender in my application.
> values and the data are printed on the calender via EVENTS controller.
> I have come across a requirement where i need to have a variable who's
> value is determined in the REGISTRATION controller is to be printed on
> the calender, but the problem is there is no linking between this two
> controller (i.e request does travarse in between these two
> controllers).
>
> Is there any possible way to bring that variable (who's value is
> determined in REGISTRATION controller) in the event controller.
>
> please provide suggestions.

Reply via email to