I'm assuming you're not calling methodA and methodB from the same
request from what you've said above.

Really depends on the type and amount of data you're talking about...
you could save the data into the session variable in methodA and pick
it up in methodB during a subsequent request.

Or you save the data in the database, and pass the id somehow to
methodB (either through session or querystring, etc).

Hope that helps.
Adam

On Sep 4, 8:32 am, Mona <[EMAIL PROTECTED]> wrote:
> Hi:  I'm using 1.1.19* and have a simple question that I cannot find
> answer to from either manual or search here...
>
> I have 2 methods in a controller, let's call them methodA and
> methodB.  In methodA, I do some work and I want to store the result of
> that work so that methodB can access and display it.  How do I
> accomplish this?
>
> I've tried many things but nothing seems to be working.  All help or
> suggestions are welcome!
>
> FYI, each method has its own respective view (eg methodA.thtml,
> methodB.thtml)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to