Monday, November 3, 2008

Re: Parameter passing in URL

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

--
View this message in context: http://n2.nabble.com/Parameter-passing-in-URL-tp1118744p1449820.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: