How to redirect a user to another page without using href?

I tried using this ,$core_v2_page.Redirect($core_v2_urls.Home()) , But it still not working. Any suggestions??

  • Where are you trying to do this?  For instance, if you are attempting to redirect in a velocity script that was called from an ajax request, you will only redirect the callback and not the end user.  

    If you examine some of the out of the box widgets, you will often see a json return similar to the following:


    The Javascript then sees the redirectUrl and handles the redirect.