[TYPO3-dev] How can I detect a logged in fronted user?
    Michiel Roos 
    michiel at netcreators.com
       
    Tue Jun 12 14:10:30 CEST 2007
    
    
  
Wolfgang Klinger wrote:
> *hiya!*
> 
> Michiel Roos wrote:
>> I want to detect if a frontend user is logged in using mod_rewrite, 
>> not TYPO3.
> 
> that doesn't answer "why"...
> we are all very curious ;-)
> 
> 
> bye
> Wolfgang
Well . . .
I don't want to serve statically cached html content to a logged in 
frontend user.
A page may contain elements that are only displayed to a logged in user. 
The menu on a page may be different if a user is logged in.
The content that the anonymous user sees can be cached fine. But we 
cannot server the same content to the logged in user.
The moment I need to decide if a user is logged in or not, I am not in 
TYPO3 but in mod_rewrite. So the choice has to be made there and then.
So, as I figured, I will need to set my own cookie for that, thank's Joey.
Kind regards,
Michiel Roos
    
    
More information about the TYPO3-dev
mailing list