[TYPO3-core] RFC #12186: EM sends Location-header without exit

Steffen Gebert steffen at steffen-gebert.de
Mon Oct 12 10:19:00 CEST 2009


On Mon, 12 Oct 2009 10:11:10 +0200, Ernesto Baschny [cron IT]  
<ernst at cron-it.de> wrote:

> It is wrong / bad, but it happens in the FE for example. TYPO3 core
> stores the user session at the end of your process. If you just do an
> "exit()" in one of your plugins, you might disrupt the storage of any
> new information you or other plugins added in your session: you have to
> tell TYPO3 to store the session for you before doing the exit().
>
> But I guess in the BE there are no such side effects, as only one module
> runs at a time. Still attention should be taken when doing an early
> exit(). This was just a reminder about it, because I guess some people
> are not aware of that. Because of that I think it is not a no-brainer.

Thanks for your remarks, Ernesto.
It's always good to have a reviewer making others to think again and  
double-check!

Steffen


More information about the TYPO3-team-core mailing list