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

  • Home
  • SEARCH
  • 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 6325647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:56:04+00:00 2026-05-24T16:56:04+00:00

I am working on a project in which I authenticate the user using login.

  • 0

I am working on a project in which I authenticate the user using login. When I logout, the user come back to the login page.The problem I have is when the user logs out and log’s in again the user is shown in the same tab from which he logged out and the data is still stored.

I build a tabbar application and in the 1st tab i present the login using modular view and in each tab when I call logout present the login using modular view. So its just a tabbar applicaiton in which login is presented modularly.

Can any one please tell me how to fix this or do I have any structural flaw? I really appreciate your time for looking int this.

Thanks

  • 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-05-24T16:56:05+00:00Added an answer on May 24, 2026 at 4:56 pm

    The act of presenting a modal view will never clear out the underlying views data after being presented (that would be entirely bizarre).

    So you have to manually clean up your views on logout – either by implementing a reset method on the view controllers that erases the information displayed in the views and that you call during your logout processing (i.e. clears text fields, lists etc.), or by (on logout as well) releasing the individual view controllers or the whole tab view controller and recreating it again on login.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a project which will be using large datasets (both 2D
I am working on a project which is based on an FTP user with
I'm working on a project which uses user authentication. I'm facing a issue with
I've been working on a project which uses SPNEGO to have Single Sign On
I'm working on a project which is using Selenium and I'd like to try
I'm working on a solution where I have a WPF project that is using
I am working on a project which user registration multiples like this. 1st Month
Hi I'm creating a project in which I use OmniAuth to authenticate a user.
I have a problem with an Xcode project which has a path of /users/me/blah
I am working on a project which is using MPEG2 codec for decoding of

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.