Angular 6 (TypeScript) - Check if user is new (newly registered) or old user [closed]





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















Im working on a website using Angular that displays information from a user account on a different website. So I have the model typescript class with all the variables related to a user. (type, id, name etc)



I want to check if the user is a new user or an old user. If the user is new, then a popup (terms and agreement popup) would display when the user clicks on a specific tab on my website. But the new user would have to see the popup ONLY ONCE in order to access that tab leading to a page. I have a function for the popup in the app component class.



I`m unable to figure out a way to do something like this. Would appreciate any help!










share|improve this question













closed as too broad by Samuel Liew Nov 26 '18 at 22:55


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • It seems like you have to store this data yourself - either as a session data; or if you are using back end with database - you'd store it there.

    – Jacek Lipiec
    Nov 24 '18 at 20:49


















2















Im working on a website using Angular that displays information from a user account on a different website. So I have the model typescript class with all the variables related to a user. (type, id, name etc)



I want to check if the user is a new user or an old user. If the user is new, then a popup (terms and agreement popup) would display when the user clicks on a specific tab on my website. But the new user would have to see the popup ONLY ONCE in order to access that tab leading to a page. I have a function for the popup in the app component class.



I`m unable to figure out a way to do something like this. Would appreciate any help!










share|improve this question













closed as too broad by Samuel Liew Nov 26 '18 at 22:55


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















  • It seems like you have to store this data yourself - either as a session data; or if you are using back end with database - you'd store it there.

    – Jacek Lipiec
    Nov 24 '18 at 20:49














2












2








2








Im working on a website using Angular that displays information from a user account on a different website. So I have the model typescript class with all the variables related to a user. (type, id, name etc)



I want to check if the user is a new user or an old user. If the user is new, then a popup (terms and agreement popup) would display when the user clicks on a specific tab on my website. But the new user would have to see the popup ONLY ONCE in order to access that tab leading to a page. I have a function for the popup in the app component class.



I`m unable to figure out a way to do something like this. Would appreciate any help!










share|improve this question














Im working on a website using Angular that displays information from a user account on a different website. So I have the model typescript class with all the variables related to a user. (type, id, name etc)



I want to check if the user is a new user or an old user. If the user is new, then a popup (terms and agreement popup) would display when the user clicks on a specific tab on my website. But the new user would have to see the popup ONLY ONCE in order to access that tab leading to a page. I have a function for the popup in the app component class.



I`m unable to figure out a way to do something like this. Would appreciate any help!







html angular typescript






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 24 '18 at 20:45









ShemaShema

141




141




closed as too broad by Samuel Liew Nov 26 '18 at 22:55


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as too broad by Samuel Liew Nov 26 '18 at 22:55


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • It seems like you have to store this data yourself - either as a session data; or if you are using back end with database - you'd store it there.

    – Jacek Lipiec
    Nov 24 '18 at 20:49



















  • It seems like you have to store this data yourself - either as a session data; or if you are using back end with database - you'd store it there.

    – Jacek Lipiec
    Nov 24 '18 at 20:49

















It seems like you have to store this data yourself - either as a session data; or if you are using back end with database - you'd store it there.

– Jacek Lipiec
Nov 24 '18 at 20:49





It seems like you have to store this data yourself - either as a session data; or if you are using back end with database - you'd store it there.

– Jacek Lipiec
Nov 24 '18 at 20:49












0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

這個網誌中的熱門文章

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Xamarin.form Move up view when keyboard appear

JBPM : POST request for execute process go wrong