[TYPO3] frontend users - user logged out, pages still in browser cache?

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Aug 6 16:08:39 CEST 2007


Hi!

Tomasz Chmielewski wrote:
> I have a slight problem with username/password protected pages.
> 
> Overall it works fine, but recently I was notified that the protected 
> pages are still in browser cache after user logs out.
> 
> For example, let's say we have a Very-Important-Page, protected with 
> username/password. User can see it after he logs in, and after he logs 
> out, he's redirected to some other page. Everything fine till now.
> 
> However, after pressing "back" button in the browser, anyone can see the 
> content of this Very-Important-Page, which is of course undesired.
> 
> Is there a workaround for that?

I think you can send proper cache headers if user is logged in. Check 
TSRef/config for cache headers and TSRef/conditions to find how to 
detect if user is logged in.

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


More information about the TYPO3-english mailing list