Have you tried using App::import('Controller', 'ControllerName') to
get an instance of a new controller?  You'd then have to initialize it
with the bootstrap stuff that Cake automatically does for you
(assuming you want the object attributes set correctly).  From there I
would guess that you could make any calls that you want.

However, I'd caution against doing something like this.  Personally
(and, I think conventionally), a URL/URI should represent a resource
(let's say a web page for this example).  The same URI should always
access the same resource (although, I grant you, it'll change over
time if it's DB driven).  If you're not sending redirects, you're kind
of breaking this model.  So make sure this is something you really
want to do before you do it.

Why do you not like redirects, anyway?

On Jun 10, 9:31 am, TimG <[email protected]> wrote:
> Did I stump the experts?
--~--~---------~--~----~------------~-------~--~----~
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