Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9124911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:40:35+00:00 2026-06-17T06:40:35+00:00

I am currently developing an extension to display information for user after frontend login.

  • 0

I am currently developing an extension to display information for user after frontend login. The user has to accept them (like terms and conditions).

Now I am looking for a good and secure logout mechanism:

  1. User gets redirect after login to information page

    • State: FE Login is available
  2. User reads information, can click “Accept” and “Logout”

    • if Accept: redirect to user start page
    • if Logout: go to Loginpage with “logintype=logout”

Now here is the problem:

In step 2, user can enter any valid URL in Browser, and TYPO3 has valid FE Login already (Step 1) -> Page is displayed without accept.

First solution idea: Logout always at step 1, login again if click on Accept. But I don’t know the user credentials for automatic login, is this possible somehow?

Second solution idea: add a cookie, and in TypoScript Template make a condition with redirect to logout. Not my favourite solution, as cookies are too easy to manipulate. And we always have strange problems with cookies, as some users are sharing their workstations.

Third solution idea: add a flag to fe_user table, if set redirect to logout. Problem: We have already performance issues. Is there a solution that dont increase the page loading time? I suppose this check has to be done with every page loading…

Do you have any solution ideas for that?

  • TYPO3 4.5
  • Extension is ExtBase
  • add code to fe_login extension is a possible option, we have already changes there
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T06:40:37+00:00Added an answer on June 17, 2026 at 6:40 am

    Can’t we use session? Set a session variable when the user clicks on accept and then use a typoscript condition like:

    [globalVar = TSFE:fe_user|sesData|accept > 0]
    page.10.userFunc = tx_templavoila_pi1->main_page
    
    [ELSE]
    page.10 = TEXT
    page.10.value = You are not allowed to visit this page
    or
    page.config >
    page.config.additionalHeaders = Location: http://www.yourdomain.org/login.html
    [END]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an extension in Chrome 4 (currently 4.0.249.0) that will show the user's
I'm currently developing a firefox extension which checks some server side XML-File on a
I'm currently developing a web application based on jQuery Mobile. I would like to
I'm currently developing a web application whose primary user function is uploading and downloading
I am currently developing a database storage solution for product inventory information for the
I am currently developing a Firefox extension, and I need the ability to be
In a Firefox extension I am currently developing using the addon builder , I
Currently developing an extension for Gmail that inserts a couple of buttons, using jquery.
I'm currently developing a simple javascript extension for Chrome. The problem is simple but
I'm currently developing a Firefox extension using Add-On SDK and bumped into a real

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.