How to redirect URL on refresh in Angular?

How can i redirect a URL to another URL back to the original URL?

  • Ok so i am trying to setup a voting gateway before you enter my website, and i dont know how to do it. i want to redirect the website so when you go to it the voting gateway pops up right away and then after you vote you are on the site you entered the URL for. If you dont get what i am saying email me or IM me please.

  • Answer:

    Set up a redirect on the site based on a session variable. If it's not set, redirect to the voting site. If you vote, set the variable and redirect to the main site - where the redirect will be bypassed because the variable is set.

Partyboy at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.