[TYPO3-mvc] Potential problem when using two plugins on same page

Henjo Hoeksma me at henjohoeksma.nl
Mon Oct 22 17:04:54 CEST 2012


Hi Robert,

On Oct 22, 2012, at 1:31 PM, Robert Schneider <r.schneider at artworx.at> wrote:

> Hi Henjo,
> 
> I have solved it with a workaround. In my case I have done a redirect to the current action.
In this case you could use switchableControllerActions in your plugin flexform to make sure which action is allowed. This seems cleaner to me than loading and redirecting...
> 
> Though, I'd like to know what you have menat with separate session keys. Do you mean the session data ($_SESSION)?
Yup I did.
> Since both plugins access the same data they cannot be divided.
Which I read now ;-)
> 
> Robert
> 
> 
> 
> 
> Am 19.10.2012 11:33, schrieb Henjo Hoeksma:
>> Hi Robert,
>> 
>> I'd go for a seperate session key for both plugins.
>> 
>> Henjo
>> 
>> On Oct 18, 2012, at 6:12 PM, Robert Schneider <r.schneider at artworx.at> wrote:
>> 
>>> Hi,
>>> 
>>> I have an extbase/fluid FE extension with two plugins. On a page I use both plugins. The page is accessed by an action (user submit something and gets to this page). Both plugins show some session data, i.e. they have the same base of data.
>>> 
>>> Is is possible that I get an timing issue if the second processed plugin modifies the session data? So that the first plugin shows some old data and the second show the new data?
>>> 
>>> If so, could I change or control the flow?
>>> 
>>> Regards,
>>> Robert
>>> _______________________________________________
>>> TYPO3-project-typo3v4mvc mailing list
>>> TYPO3-project-typo3v4mvc at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>> 
> 
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list