Display QuerySring value on URL after Login using AngularJS in ASP.Net MVC

Last Reply one year ago By dharmendr

Posted one year ago

Hi,

Login Page with Remember Me using AngularJS in ASP.Net MVC

based upon above url i am going to do one functionality

my requirement is that what ever username and password values i have entered on screen display it on url of page

Ex: after login it was redirecting to menu page

localhost:36366/menu/Index?UserName=mahesh&Password=123

Could you please help me

where to make changes in above url

Posted one year ago

Hi mahesh213,

Change the window location href.

window.location.href = "/Home/Success";

Above with the below.

window.location.href = "/Menu/Index?UserName=" + $scope.UserName + "&Password=" + $scope.Password;