Thanks for your answer! Storing the id in the session is unfortunately 
not possible as the user may have different tabs with different ids. 
Anyway, I think most of the problems are solved, but suddenly there is 
something new (at least, I discovered it just now), which I think might 
be a bug:

We are using the Auth-Component for automatic login. But this component 
always redirects with all URL parameters missing (and, thus, the id 
parameter). I don't think this is intended behaviour.

I found a similar bug report about this, but upgrading to the newest RC 
did not solve the problem. Any ideas?
https://trac.cakephp.org/ticket/4750

Regards,
Daniel Süpke

RichardAtHome wrote:
> 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
> 
-- 
Dipl.-Inform. Daniel Süpke
Universität Oldenburg
Abt. Wirtschaftsinformatik I
Very Large Business Applications
Ammerländer Heerstr. 114-118
26129 Oldenburg
Raum: A4-3-327
Tel: 0441/798-4471
Fax: 0441/798-4472

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