the http://bakery.cakephp.org/articles/view/firecake-helper Firecake helper
for CakePHP. Makes it really easy to see what's going on with session
variables.
Feanor's Curse wrote:
>
>
> How? If the user opens a new tab and changes the ID there (in the
> session), it will affect all other tabs, won't it?
>
> Best Regards,
> Daniel Süpke
>
>
>
> RyOnLife wrote:
>>
>> Multiple tabs won't inhibit the use of sessions.
>>
>>
>> Feanor's Curse wrote:
>>>
>>> Thanks for the suggestion, but session variable won't work since the
>>> user could have open multiple tabs with different IDs.
>>>
>>> Best Regards,
>>> Daniel Süpke
>>>
>>> On Oct 27, 4:06 pm, RyOnLife <ryan.mckil...@gmail.com> wrote:
>>>> Any reason setting a session variable wouldn't work?
>>>>
>>>>
>>>>
>>>> Feanor's Curse 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
>>>> --
>>>> View this message in
>>>> context:http://n2.nabble.com/Parameter-passing-in-URL-tp1118744p1382739.html
>>>> Sent from the CakePHP mailing list archive at Nabble.com.
>>>>
>>>
>>
>
> --
> 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
>
> >
>
>
--
View this message in context: http://n2.nabble.com/Parameter-passing-in-URL-tp1118744p1454656.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment