Zum Inhalt springen

RealUrl andere URLs wenn eingeloggt im Frontend

Erstellt am 7. März 2008 · 1 Antwort · letzte Antwort am 7. März 2008

Tags: RealURL, Frage

Blackgentoo ·

https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/TopLevelObjects/Config.html

The background problem is this: In TYPO3 the same URL can show different content depending on whether a user is logged in or not. If a user is logged in, cache-headers will never allow client caching. But if the same URL was visited without a login prior to the login (allowing caching) the user will still see the page from cache when logged in (and so thinks he is not logged in anyway)! The only general way to prevent this is to have a different URL for pages when users are logged in (which the extension “realurl” can accomplish).

eben dieses Problem, welches auf der offiziellen Typo3-Dokuseite beschrieben wird, habe ich. Wie kann ich es mit RealUrl erreichen, dass Benutzer, die im Frontend eingeloggt sind, andere URLs generiert bekommen? Sonst sieht der User ja, wegen dem lokalen Browsercache nie die Seiten im Login-Bereich, weil er noch die gecachte Seite angezeigt bekommt...

Blackgentoo ·

habs doch selber gefunden :p, bzw en kumpel hats gefunden, so baut des realurl in meinem falle "members_only" vor die urls

 'preVars' => array(
                array(
                        'type' => 'action',
                        'index' => array (
                                'members_only' => array (
                                        'type' => 'feLogin'
                                )
                        )
                )

         ),