[TYPO3] page 404 - check logged in or not

Dmitry Dulepov dmitry at typo3.org
Mon Jun 25 21:42:36 CEST 2007


Hi!

Chris Paige wrote:
> I have a "404 - page not found" page setup and it works fine, in general 
> (TYPO3 v. 4.0.x)
> 
> I would like to have it display one set of content if the user is not 
> logged (i.e. "you need to log in!") and a different message if the user 
> is logged in (i.e. a sitemap).  I have used the visibility settings on 
> content elements to attempt this scenario (i.e. Show at any login, Hide 
> at any login).  It does not seem too complicated.
> 
> However, the 404 renders as if *not* logged in, even if I am logged in. 
> I am guessing that the 404 page does not check cookies for some reason?
> Can others confirm this?  Do others know what this behavior is occuring 
> and if it is intentional? Is there a work around?

It is the other way round: TYPO3 does not pass cookie while fetching 404 
page. This a bug but hard to solve due to some internals of 404 
implementation.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-english mailing list