or store the id in the session?

On Sep 26, 12:17 pm, Daniel Süpke <[EMAIL PROTECTED]> wrote:
> Thank you very much, I'll have a look at that!
>
> Best Regards,
> Daniel Süpke
>
> [EMAIL PROTECTED] wrote:
>
> > I haven't done exactly that but I think you could set all urls and
> > links using the array notation. The array could then also be pre-
> > populated with the parameter you want to keep in each request. (Pre-
> > populated in some central place like AppController::beforeFilter
> > before any links are generated)
>
> > On Sep 25, 1:23 pm, Daniel Süpke <[EMAIL PROTECTED]> wrote:
> >> Hi,
>
> >> we are using CakePHP 1.2 and I was wondering how it could be achieved
> >> to pass a parameter along every URL. We have a parameter set to an ID
> >> and it needs to be included in every URL in the application.
>
> >> Now, the first solution was to create a LinkHelper which added the
> >> location via $_GET, but this is not working when forms are validated
> >> by Cake, since then the url is not going via the LinkHelper.
>
> >> So, is there any easy way to pass around a parameter in the URL in the
> >> entire application?
>
> >> Best Regards,
> >> Daniel Süpke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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