[TYPO3-core] RFC: #9281: Add a method to easily do a HTTP redirect

Steffen Kamper info at sk-typo3.de
Thu Sep 4 09:37:17 CEST 2008


Hi,

Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Steffen Kamper wrote:
>>>> One good thing that we could add is "@ob_end_clean();" before the 
>>>> first header(). This would cleanup any buffered output that already 
>>>> started because it will be useless in case of redirect.
>>> Yeah, we also thought of having a "header_sent()" call before that 
>>> (we could then even throw an exception or error), however I think 
>>> this handling should be left to the developers.
>>>
>>
>> imho not important. Dev who use that should take care of.
> 
> There is no point in common function than. Developers could take care of 
> redirect themselves...
> 

I'm ok for any suggestion. This is only my personal opinion as i didn't 
had any case for that but i'm open for any example where it's required.

vg Steffen


More information about the TYPO3-team-core mailing list