[TYPO3-dev] BE_USER object weirdness with Firefox 3
Steffen Kamper
info at sk-typo3.de
Wed Nov 12 19:22:55 CET 2008
Hi Francois,
i stumble what should be different in FF3 as this is executed on the
server. Did you looked at the cookies? May be there is still a session
open as this was the problem of FF in former versions too. I use
webdeveloper toolbar to view/disable cookies.
vg Steffen
Francois Suter schrieb:
> Hi all,
>
> I have encountered a weird behavior. I have been working recently on an
> extension that inserts Google Analytics code into a page. This extension
> skips doing this when a BE user is logged in by testing the existence of
> the BE_USER object, as
>
> if (is_object($GLOBALS['BE_USER'])) ...
>
> Now it appears that this works fine in general, except with Firefox 3
> (all platforms). In the case of FF3, the BE_USER object exists although
> empty.
>
> Of course the workaround is easy and consists of testing whether the
> BE_USER->user array is filled with significant info, but the behavior is
> surprising and I wanted to know if anyone had an idea where it could
> come from.
>
> Cheers
>
More information about the TYPO3-dev
mailing list