Direction url other type users

Published

I am making a web page and there are different types of users.Dealer and worker.Only worker can access index.html page and only dealer can access odeme.html.I did this.
index.html=http://localhost:8080
odeme.html=http://localhost:8080/odeme

I’m a dealer and on the odeme.html page if i change the url,i can access index.html.I solved this problem with ajax call and location.href.But first index page appears then odeme.html appears.I want the odeme.html page to appear without the index page being displayed.How can i do?

Source: Angular Questions

Published
Categorized as ajax, angular, javascript, url Tagged , , ,

Answers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq